public static class SingleColumnRestriction.Contains extends SingleColumnRestriction
SingleColumnRestriction.Contains, SingleColumnRestriction.EQ, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.SliceRestriction.IN| Constructor and Description |
|---|
Contains() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Term t,
boolean isKey) |
void |
addKey(Term t) |
void |
addValue(Term t) |
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 |
hasContains() |
boolean |
hasContainsKey() |
boolean |
isContains() |
boolean |
isEQ() |
boolean |
isIN() |
boolean |
isOnToken() |
boolean |
isSlice() |
java.util.List<java.nio.ByteBuffer> |
keys(QueryOptions options) |
int |
numberOfKeys() |
int |
numberOfValues() |
java.lang.String |
toString() |
java.util.List<java.nio.ByteBuffer> |
values(QueryOptions options) |
isMultiColumnpublic boolean hasContains()
public boolean hasContainsKey()
public int numberOfValues()
public int numberOfKeys()
public void add(Term t, boolean isKey)
public void addValue(Term t)
public void addKey(Term t)
public java.util.List<java.nio.ByteBuffer> values(QueryOptions options) throws InvalidRequestException
InvalidRequestExceptionpublic java.util.List<java.nio.ByteBuffer> keys(QueryOptions options) throws InvalidRequestException
InvalidRequestExceptionpublic boolean isSlice()
public boolean isEQ()
public boolean isIN()
public boolean isContains()
public boolean isOnToken()
public boolean canEvaluateWithSlices()
Restrictionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation