Class MultiColumnRestriction.InRestrictionWithValues
java.lang.Object
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.INRestriction
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.InRestrictionWithValues
- All Implemented Interfaces:
Restriction,SingleRestriction
- Enclosing class:
- MultiColumnRestriction
public static class MultiColumnRestriction.InRestrictionWithValues
extends MultiColumnRestriction.INRestriction
An IN restriction that has a set of terms for in values.
For example: "SELECT ... WHERE (a, b, c) IN ((1, 2, 3), (4, 5, 6))" or "WHERE (a, b, c) IN (?, ?)"
-
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
FieldsFields inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
columnDefs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFunctionsTo(List<Function> functions) Adds all functions (native and user-defined) used by any component of the restriction to the specified list.protected List<List<ByteBuffer>>splitValues(QueryOptions options) toString()Methods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.INRestriction
addToRowFilter, appendTo, doMergeWith, isIN, isSupportedByMethods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
findSupportingIndex, findSupportingIndexFromQueryPlan, getColumnDefs, getColumnsInCommons, getFirstColumn, getLastColumn, hasSupportingIndex, isMultiColumn, mergeWith, needsFilteringMethods 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
isOnTokenMethods inherited from interface org.apache.cassandra.cql3.restrictions.SingleRestriction
appendBoundTo, hasBound, isANN, isContains, isEQ, isEqualityBased, isInclusive, isLIKE, isNotNull, isSlice
-
Field Details
-
values
-
-
Constructor Details
-
InRestrictionWithValues
-
-
Method Details
-
addFunctionsTo
Description copied from interface:RestrictionAdds all functions (native and user-defined) used by any component of the restriction to the specified list.- Parameters:
functions- the list to add to
-
toString
- Overrides:
toStringin classMultiColumnRestriction
-
splitValues
- Specified by:
splitValuesin classMultiColumnRestriction.INRestriction
-