public static class MultiColumnRestriction.Slice extends SingleColumnRestriction.Slice implements MultiColumnRestriction
SingleColumnRestriction.EQ, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.SliceMultiColumnRestriction.EQ, MultiColumnRestriction.IN, MultiColumnRestriction.InWithMarker, MultiColumnRestriction.InWithValues, MultiColumnRestriction.SliceboundInclusive, bounds, onToken| Constructor and Description |
|---|
MultiColumnRestriction.Slice(boolean onToken) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
bound(Bound b,
java.util.List<java.nio.ByteBuffer> variables) |
java.util.List<java.nio.ByteBuffer> |
componentBounds(Bound b,
java.util.List<java.nio.ByteBuffer> variables)
Similar to bounds(), but returns one ByteBuffer per-component in the bound instead of a single
ByteBuffer to represent the entire bound.
|
boolean |
isMultiColumn() |
getIndexOperator, getRelation, hasBound, isEQ, isIN, isInclusive, isOnToken, isSlice, setBound, toString, valuespublic MultiColumnRestriction.Slice(boolean onToken)
public boolean isMultiColumn()
isMultiColumn in interface RestrictionisMultiColumn in class SingleColumnRestrictionpublic java.nio.ByteBuffer bound(Bound b, java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
bound in interface Restriction.Slicebound in class SingleColumnRestriction.SliceInvalidRequestExceptionpublic java.util.List<java.nio.ByteBuffer> componentBounds(Bound b, java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
InvalidRequestExceptionCopyright © 2015 The Apache Software Foundation