public abstract static class MultiColumnRestriction.INRestriction extends MultiColumnRestriction
MultiColumnRestriction.EQRestriction, MultiColumnRestriction.INRestriction, MultiColumnRestriction.InRestrictionWithMarker, MultiColumnRestriction.InRestrictionWithValues, MultiColumnRestriction.NotNullRestriction, MultiColumnRestriction.SliceRestrictioncolumnDefs| Constructor and Description |
|---|
INRestriction(java.util.List<ColumnDefinition> columnDefs) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRowFilterTo(RowFilter filter,
SecondaryIndexManager indexManager,
QueryOptions options)
Adds to the specified row filter the expressions corresponding to this
Restriction. |
MultiCBuilder |
appendTo(MultiCBuilder builder,
QueryOptions options)
Appends the values of this
SingleRestriction to the specified builder. |
SingleRestriction |
doMergeWith(SingleRestriction otherRestriction) |
boolean |
isIN() |
protected boolean |
isSupportedBy(Index index)
Check if this type of restriction is supported for by the specified index.
|
protected abstract java.util.List<java.util.List<java.nio.ByteBuffer>> |
splitValues(QueryOptions options) |
getColumnDefs, getColumnsInCommons, getFirstColumn, getLastColumn, hasSupportingIndex, isMultiColumn, mergeWithclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendBoundTo, hasBound, isContains, isEQ, isInclusive, isLIKE, isNotNull, isSliceaddFunctionsTo, isOnTokenpublic INRestriction(java.util.List<ColumnDefinition> columnDefs)
public MultiCBuilder appendTo(MultiCBuilder builder, QueryOptions options)
SingleRestriction to the specified builder.builder - the MultiCBuilder to append to.options - the query optionsMultiCBuilderpublic boolean isIN()
public SingleRestriction doMergeWith(SingleRestriction otherRestriction)
doMergeWith in class MultiColumnRestrictionprotected boolean isSupportedBy(Index index)
MultiColumnRestrictionisSupportedBy in class MultiColumnRestrictionindex - the secondary indextrue this type of restriction is supported by the specified index,
false otherwise.public final void addRowFilterTo(RowFilter filter, SecondaryIndexManager indexManager, QueryOptions options)
RestrictionRestriction.filter - the row filter to add expressions toindexManager - the secondary index manageroptions - the query optionsprotected abstract java.util.List<java.util.List<java.nio.ByteBuffer>> splitValues(QueryOptions options)
Copyright © 2018 The Apache Software Foundation