public static class SingleColumnRestriction.SuperColumnMultiSliceRestriction extends SingleColumnRestriction.SliceRestriction
SingleColumnRestriction.ContainsRestriction, SingleColumnRestriction.EQRestriction, SingleColumnRestriction.INRestriction, SingleColumnRestriction.InRestrictionWithMarker, SingleColumnRestriction.InRestrictionWithValues, SingleColumnRestriction.IsNotNullRestriction, SingleColumnRestriction.SliceRestriction, SingleColumnRestriction.SuperColumnKeyEQRestriction, SingleColumnRestriction.SuperColumnKeyINRestriction, SingleColumnRestriction.SuperColumnKeyINRestrictionWithMarkers, SingleColumnRestriction.SuperColumnKeyINRestrictionWithValues, SingleColumnRestriction.SuperColumnKeySliceRestriction, SingleColumnRestriction.SuperColumnMultiEQRestriction, SingleColumnRestriction.SuperColumnMultiSliceRestriction| Modifier and Type | Field and Description |
|---|---|
Bound |
bound |
java.nio.ByteBuffer |
firstValue |
java.nio.ByteBuffer |
secondValue |
boolean |
trueInclusive |
slicecolumnDef| Constructor and Description |
|---|
SuperColumnMultiSliceRestriction(ColumnDefinition columnDef,
Bound bound,
boolean inclusive,
Term term) |
| Modifier and Type | Method and Description |
|---|---|
MultiCBuilder |
appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options)
Appends the values of the
Restriction for the specified bound to the specified builder. |
boolean |
isContains() |
boolean |
isEQ() |
boolean |
isIN() |
boolean |
isMultiColumn() |
boolean |
isNotNull() |
boolean |
isOnToken() |
protected static Bound |
reverseBoundIfNeeded(ColumnDefinition columnDefinition,
Bound bound)
Reverses the specified bound if the column type is a reversed one.
|
addFunctionsTo, addRowFilterTo, appendTo, doMergeWith, hasBound, isInclusive, isSlice, isSupportedBy, toStringgetColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, mergeWithpublic java.nio.ByteBuffer firstValue
public java.nio.ByteBuffer secondValue
public final Bound bound
public final boolean trueInclusive
public SuperColumnMultiSliceRestriction(ColumnDefinition columnDef, Bound bound, boolean inclusive, Term term)
public MultiCBuilder appendBoundTo(MultiCBuilder builder, Bound bound, QueryOptions options)
RestrictionRestriction for the specified bound to the specified builder.appendBoundTo in interface RestrictionappendBoundTo in class SingleColumnRestriction.SliceRestrictionbuilder - the MultiCBuilder to append to.bound - the boundoptions - the query optionsMultiCBuilderpublic boolean isOnToken()
isOnToken in interface Restrictionpublic boolean isMultiColumn()
isMultiColumn in interface Restrictionpublic boolean isEQ()
isEQ in interface Restrictionpublic boolean isIN()
isIN in interface Restrictionpublic boolean isContains()
isContains in interface Restrictionpublic boolean isNotNull()
isNotNull in interface Restrictionprotected static Bound reverseBoundIfNeeded(ColumnDefinition columnDefinition, Bound bound)
columnDefinition - the column definitionbound - the boundCopyright © 2020 The Apache Software Foundation