public static interface Restriction.Slice extends Restriction
Restriction.EQ, Restriction.IN, Restriction.Slice| Modifier and Type | Method and Description |
|---|---|
Term |
bound(Bound b) |
java.nio.ByteBuffer |
bound(Bound b,
QueryOptions options) |
Operator |
getIndexOperator(Bound b) |
Operator |
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(Operator type,
Term t) |
void |
setBound(Restriction.Slice restriction) |
java.util.List<java.nio.ByteBuffer> |
values(QueryOptions options) |
canEvaluateWithSlices, isContains, isEQ, isIN, isMultiColumn, isOnToken, isSlicejava.util.List<java.nio.ByteBuffer> values(QueryOptions options) throws InvalidRequestException
values in interface RestrictionInvalidRequestExceptionboolean hasBound(Bound b)
java.nio.ByteBuffer bound(Bound b, QueryOptions options) throws InvalidRequestException
InvalidRequestExceptionboolean isInclusive(Bound b)
void setBound(Operator type, Term t) throws InvalidRequestException
InvalidRequestExceptionvoid setBound(Restriction.Slice restriction) throws InvalidRequestException
InvalidRequestExceptionCopyright © 2015 The Apache Software Foundation