public static class MultiColumnRestriction.Slice extends SingleColumnRestriction.Slice implements MultiColumnRestriction
SingleColumnRestriction.EQ, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.Slice
MultiColumnRestriction.EQ, MultiColumnRestriction.IN, MultiColumnRestriction.InWithMarker, MultiColumnRestriction.InWithValues, MultiColumnRestriction.Slice
boundInclusive, 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, values
public MultiColumnRestriction.Slice(boolean onToken)
public boolean isMultiColumn()
isMultiColumn
in interface Restriction
isMultiColumn
in class SingleColumnRestriction
public java.nio.ByteBuffer bound(Bound b, java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
bound
in interface Restriction.Slice
bound
in class SingleColumnRestriction.Slice
InvalidRequestException
public java.util.List<java.nio.ByteBuffer> componentBounds(Bound b, java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
InvalidRequestException
Copyright © 2015 The Apache Software Foundation