Class SingleColumnRestriction.INRestriction
java.lang.Object
org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.INRestriction
- All Implemented Interfaces:
Restriction,SingleRestriction
- Direct Known Subclasses:
SingleColumnRestriction.InRestrictionWithMarker,SingleColumnRestriction.InRestrictionWithValues
- Enclosing class:
- SingleColumnRestriction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
SingleColumnRestriction.AnnRestriction, SingleColumnRestriction.ContainsRestriction, SingleColumnRestriction.EQRestriction, SingleColumnRestriction.INRestriction, SingleColumnRestriction.InRestrictionWithMarker, SingleColumnRestriction.InRestrictionWithValues, SingleColumnRestriction.IsNotNullRestriction, SingleColumnRestriction.LikeRestriction, SingleColumnRestriction.SliceRestriction -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
columnDef -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToRowFilter(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.final SingleRestrictiondoMergeWith(SingleRestriction otherRestriction) protected abstract List<ByteBuffer>getValues(QueryOptions options) final booleanisIN()protected final booleanisSupportedBy(Index index) Check if this type of restriction is supported by the specified index.Methods inherited from class org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
findSupportingIndex, findSupportingIndexFromQueryPlan, getColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, mergeWith, needsFilteringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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, isMultiColumn, isNotNull, isSlice
-
Constructor Details
-
INRestriction
-
-
Method Details
-
isIN
public final boolean isIN() -
doMergeWith
- Specified by:
doMergeWithin classSingleColumnRestriction
-
appendTo
Description copied from interface:SingleRestrictionAppends the values of thisSingleRestrictionto the specified builder.- Parameters:
builder- theMultiCBuilderto append to.options- the query options- Returns:
- the
MultiCBuilder
-
addToRowFilter
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
-
isSupportedBy
Description copied from class:SingleColumnRestrictionCheck if this type of restriction is supported by the specified index.- Specified by:
isSupportedByin classSingleColumnRestriction- Parameters:
index- the secondary index- Returns:
truethis type of restriction is supported by the specified index,falseotherwise.
-
getValues
-