public static interface Restriction.Slice extends Restriction
Restriction.EQ, Restriction.IN, Restriction.Slice
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bound(Bound b,
java.util.List<java.nio.ByteBuffer> variables) |
org.apache.cassandra.thrift.IndexOperator |
getIndexOperator(Bound b) |
Relation.Type |
getRelation(Bound eocBound,
Bound inclusiveBound) |
boolean |
hasBound(Bound b)
Returns true if the start or end bound (depending on the argument) is set, false otherwise
|
boolean |
isInclusive(Bound b)
Returns true if the start or end bound (depending on the argument) is inclusive, false otherwise
|
void |
setBound(Relation.Type type,
Term t) |
java.util.List<java.nio.ByteBuffer> |
values(java.util.List<java.nio.ByteBuffer> variables) |
isEQ, isIN, isMultiColumn, isOnToken, isSlice
java.util.List<java.nio.ByteBuffer> values(java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
values
in interface Restriction
InvalidRequestException
boolean hasBound(Bound b)
java.nio.ByteBuffer bound(Bound b, java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
InvalidRequestException
boolean isInclusive(Bound b)
Relation.Type getRelation(Bound eocBound, Bound inclusiveBound)
org.apache.cassandra.thrift.IndexOperator getIndexOperator(Bound b)
void setBound(Relation.Type type, Term t) throws InvalidRequestException
InvalidRequestException
Copyright © 2014 The Apache Software Foundation