Class MultiColumnRestriction.INRestriction
java.lang.Object
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.INRestriction
- All Implemented Interfaces:
Restriction,SingleRestriction
- Direct Known Subclasses:
MultiColumnRestriction.InRestrictionWithMarker,MultiColumnRestriction.InRestrictionWithValues
- Enclosing class:
- MultiColumnRestriction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
MultiColumnRestriction.EQRestriction, MultiColumnRestriction.INRestriction, MultiColumnRestriction.InRestrictionWithMarker, MultiColumnRestriction.InRestrictionWithValues, MultiColumnRestriction.NotNullRestriction, MultiColumnRestriction.SliceRestriction -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
columnDefs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddToRowFilter(RowFilter filter, IndexRegistry indexRegistry, QueryOptions options) Adds to the specified row filter the expressions corresponding to thisRestriction.appendTo(MultiCBuilder builder, QueryOptions options) Appends the values of thisSingleRestrictionto the specified builder.doMergeWith(SingleRestriction otherRestriction) booleanisIN()protected booleanisSupportedBy(Index index, ColumnMetadata column) protected abstract List<List<ByteBuffer>>splitValues(QueryOptions options) Methods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
findSupportingIndex, findSupportingIndexFromQueryPlan, getColumnDefs, getColumnsInCommons, getFirstColumn, getLastColumn, hasSupportingIndex, isMultiColumn, mergeWith, needsFiltering, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.restrictions.Restriction
addFunctionsTo, isOnTokenMethods inherited from interface org.apache.cassandra.cql3.restrictions.SingleRestriction
appendBoundTo, hasBound, isANN, isContains, isEQ, isEqualityBased, isInclusive, isLIKE, isNotNull, isSlice
-
Constructor Details
-
INRestriction
-
-
Method Details
-
appendTo
Appends the values of thisSingleRestrictionto the specified builder.- Parameters:
builder- theMultiCBuilderto append to.options- the query options- Returns:
- the
MultiCBuilder
-
isIN
public boolean isIN() -
doMergeWith
- Specified by:
doMergeWithin classMultiColumnRestriction
-
isSupportedBy
- Specified by:
isSupportedByin classMultiColumnRestriction
-
addToRowFilter
public final void addToRowFilter(RowFilter filter, IndexRegistry indexRegistry, QueryOptions options) Description copied from interface:RestrictionAdds to the specified row filter the expressions corresponding to thisRestriction.- Parameters:
filter- the row filter to add expressions toindexRegistry- the index registryoptions- the query options
-
splitValues
-