public static class SingleColumnRestriction.InWithValues extends SingleColumnRestriction implements Restriction.IN
SingleColumnRestriction.Contains, SingleColumnRestriction.EQ, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.SliceRestriction.EQ, Restriction.IN, Restriction.Slice| Constructor and Description |
|---|
SingleColumnRestriction.InWithValues(java.util.List<Term> values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEvaluateWithSlices()
Returns true if, when applied to a clustering column, this restriction can be handled through one or more slices
alone without filtering.
|
boolean |
canHaveOnlyOneValue() |
boolean |
isContains() |
boolean |
isEQ() |
boolean |
isIN() |
boolean |
isOnToken() |
boolean |
isSlice() |
java.lang.String |
toString() |
java.util.List<java.nio.ByteBuffer> |
values(QueryOptions options) |
isMultiColumnclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisMultiColumnprotected final java.util.List<Term> values
public SingleColumnRestriction.InWithValues(java.util.List<Term> values)
public java.util.List<java.nio.ByteBuffer> values(QueryOptions options) throws InvalidRequestException
values in interface RestrictionInvalidRequestExceptionpublic boolean canHaveOnlyOneValue()
canHaveOnlyOneValue in interface Restriction.INpublic boolean isSlice()
isSlice in interface Restrictionpublic boolean isEQ()
isEQ in interface Restrictionpublic boolean isIN()
isIN in interface Restrictionpublic boolean isContains()
isContains in interface Restrictionpublic boolean isOnToken()
isOnToken in interface Restrictionpublic boolean canEvaluateWithSlices()
RestrictioncanEvaluateWithSlices in interface Restrictionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation