Class SingleColumnRestriction.InRestrictionWithValues
- java.lang.Object
-
- org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
-
- org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.INRestriction
-
- org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.InRestrictionWithValues
-
- All Implemented Interfaces:
Restriction
,SingleRestriction
- Enclosing class:
- SingleColumnRestriction
public static class SingleColumnRestriction.InRestrictionWithValues extends SingleColumnRestriction.INRestriction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
SingleColumnRestriction.ContainsRestriction, SingleColumnRestriction.EQRestriction, SingleColumnRestriction.INRestriction, SingleColumnRestriction.InRestrictionWithMarker, SingleColumnRestriction.InRestrictionWithValues, SingleColumnRestriction.IsNotNullRestriction, SingleColumnRestriction.LikeRestriction, SingleColumnRestriction.SliceRestriction
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Term>
values
-
Fields inherited from class org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
columnDef
-
-
Constructor Summary
Constructors Constructor Description InRestrictionWithValues(ColumnMetadata columnDef, java.util.List<Term> values)
-
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.nio.ByteBuffer>
getValues(QueryOptions options)
java.lang.String
toString()
-
Methods inherited from class org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.INRestriction
addToRowFilter, appendTo, doMergeWith, isIN, isSupportedBy
-
Methods inherited from class org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
getColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, 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, isMultiColumn, isNotNull, isSlice
-
-
-
-
Field Detail
-
values
protected final java.util.List<Term> values
-
-
Constructor Detail
-
InRestrictionWithValues
public InRestrictionWithValues(ColumnMetadata columnDef, java.util.List<Term> values)
-
-
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
-
getValues
protected java.util.List<java.nio.ByteBuffer> getValues(QueryOptions options)
- Specified by:
getValues
in classSingleColumnRestriction.INRestriction
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-