public static class MultiColumnRestriction.Slice extends SingleColumnRestriction.Slice implements MultiColumnRestriction
SingleColumnRestriction.Contains, 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,
QueryOptions options) |
java.util.List<java.nio.ByteBuffer> |
componentBounds(Bound b,
QueryOptions options)
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, isContains, isEQ, isIN, isInclusive, isOnToken, isSlice, setBound, toString, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isContains, isEQ, isIN, isOnToken, isSlice, values
public MultiColumnRestriction.Slice(boolean onToken)
public boolean isMultiColumn()
isMultiColumn
in interface Restriction
isMultiColumn
in class SingleColumnRestriction
public java.nio.ByteBuffer bound(Bound b, QueryOptions options) throws InvalidRequestException
bound
in interface Restriction.Slice
bound
in class SingleColumnRestriction.Slice
InvalidRequestException
public java.util.List<java.nio.ByteBuffer> componentBounds(Bound b, QueryOptions options) throws InvalidRequestException
InvalidRequestException
Copyright © 2014 The Apache Software Foundation