Class MultiColumnRestriction.InRestrictionWithMarker
- java.lang.Object
-
- org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
-
- org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.INRestriction
-
- org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.InRestrictionWithMarker
-
- All Implemented Interfaces:
Restriction
,SingleRestriction
- Enclosing class:
- MultiColumnRestriction
public static class MultiColumnRestriction.InRestrictionWithMarker extends MultiColumnRestriction.INRestriction
An IN restriction that uses a single marker for a set of IN values that are tuples. For example: "SELECT ... 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
Fields Modifier and Type Field Description protected AbstractMarker
marker
-
Fields inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
columnDefs
-
-
Constructor Summary
Constructors Constructor Description InRestrictionWithMarker(java.util.List<ColumnMetadata> columnDefs, AbstractMarker marker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFunctionsTo(java.util.List<Function> functions)
Adds all functions (native and user-defined) used by any component of the restriction to the specified list.protected java.util.List<java.util.List<java.nio.ByteBuffer>>
splitValues(QueryOptions options)
java.lang.String
toString()
-
Methods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.INRestriction
addToRowFilter, appendTo, doMergeWith, isIN, isSupportedBy
-
Methods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
getColumnDefs, getColumnsInCommons, getFirstColumn, getLastColumn, hasSupportingIndex, isMultiColumn, mergeWith, needsFiltering
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cql3.restrictions.Restriction
isOnToken
-
Methods inherited from interface org.apache.cassandra.cql3.restrictions.SingleRestriction
appendBoundTo, hasBound, isContains, isEQ, isEqualityBased, isInclusive, isLIKE, isNotNull, isSlice
-
-
-
-
Field Detail
-
marker
protected final AbstractMarker marker
-
-
Constructor Detail
-
InRestrictionWithMarker
public InRestrictionWithMarker(java.util.List<ColumnMetadata> columnDefs, AbstractMarker marker)
-
-
Method Detail
-
addFunctionsTo
public void addFunctionsTo(java.util.List<Function> functions)
Description copied from interface:Restriction
Adds 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
public java.lang.String toString()
- Overrides:
toString
in classMultiColumnRestriction
-
splitValues
protected java.util.List<java.util.List<java.nio.ByteBuffer>> splitValues(QueryOptions options)
- Specified by:
splitValues
in classMultiColumnRestriction.INRestriction
-
-