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, 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)
void setBound(Operator type, Term t) throws InvalidRequestException
InvalidRequestException
void setBound(Restriction.Slice restriction) throws InvalidRequestException
InvalidRequestException
Copyright © 2016 The Apache Software Foundation