public static class SingleColumnRestriction.Contains extends SingleColumnRestriction
SingleColumnRestriction.Contains, SingleColumnRestriction.EQ, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.Slice
Restriction.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) |
isMultiColumn
public 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
InvalidRequestException
public java.util.List<java.nio.ByteBuffer> keys(QueryOptions options) throws InvalidRequestException
InvalidRequestException
public boolean isSlice()
public boolean isEQ()
public boolean isIN()
public boolean isContains()
public boolean isOnToken()
public boolean canEvaluateWithSlices()
Restriction
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 The Apache Software Foundation