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,
QueryOptions options) |
IndexExpression.Operator |
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(ColumnIdentifier name,
Relation.Type type,
Term t) |
java.util.List<java.nio.ByteBuffer> |
values(QueryOptions options) |
isContains, isEQ, isIN, isMultiColumn, isOnToken, isSlice
java.util.List<java.nio.ByteBuffer> values(QueryOptions options) throws InvalidRequestException
values
in interface Restriction
InvalidRequestException
boolean hasBound(Bound b)
java.nio.ByteBuffer bound(Bound b, QueryOptions options) throws InvalidRequestException
InvalidRequestException
boolean isInclusive(Bound b)
Relation.Type getRelation(Bound eocBound, Bound inclusiveBound)
IndexExpression.Operator getIndexOperator(Bound b)
void setBound(ColumnIdentifier name, Relation.Type type, Term t) throws InvalidRequestException
InvalidRequestException
Copyright © 2014 The Apache Software Foundation