public static class SingleColumnRestriction.InWithValues extends SingleColumnRestriction implements Restriction.IN
SingleColumnRestriction.Contains, SingleColumnRestriction.EQ, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.Slice
Restriction.EQ, Restriction.IN, Restriction.Slice
Modifier and Type | Field and Description |
---|---|
protected java.util.List<? extends Term> |
values |
Constructor and Description |
---|
InWithValues(java.util.List<? extends 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) |
isMultiColumn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isMultiColumn
protected final java.util.List<? extends Term> values
public InWithValues(java.util.List<? extends Term> values)
public java.util.List<java.nio.ByteBuffer> values(QueryOptions options) throws InvalidRequestException
values
in interface Restriction
InvalidRequestException
public boolean canHaveOnlyOneValue()
canHaveOnlyOneValue
in interface Restriction.IN
public boolean isSlice()
isSlice
in interface Restriction
public boolean isEQ()
isEQ
in interface Restriction
public boolean isIN()
isIN
in interface Restriction
public boolean isContains()
isContains
in interface Restriction
public boolean isOnToken()
isOnToken
in interface Restriction
public boolean canEvaluateWithSlices()
Restriction
canEvaluateWithSlices
in interface Restriction
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017 The Apache Software Foundation