public static final class SingleColumnRestriction.SuperColumnKeyEQRestriction extends SingleColumnRestriction.EQRestriction
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.SuperColumnMultiSliceRestrictionvaluecolumnDef| Constructor and Description |
|---|
SuperColumnKeyEQRestriction(ColumnDefinition columnDef,
Term value) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRowFilterTo(RowFilter filter,
SecondaryIndexManager indexManager,
QueryOptions options)
Adds to the specified row filter the expressions corresponding to this
Restriction. |
MultiCBuilder |
appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options)
Appends the values of the
Restriction for the specified bound to the specified builder. |
java.nio.ByteBuffer |
bindValue(QueryOptions options) |
boolean |
hasBound(Bound b)
Checks if the specified bound is set or not.
|
boolean |
isContains() |
boolean |
isIN() |
boolean |
isInclusive(Bound b)
Checks if the specified bound is inclusive or not.
|
boolean |
isMultiColumn() |
boolean |
isNotNull() |
boolean |
isOnToken() |
boolean |
isSlice() |
protected static Bound |
reverseBoundIfNeeded(ColumnDefinition columnDefinition,
Bound bound)
Reverses the specified bound if the column type is a reversed one.
|
addFunctionsTo, appendTo, doMergeWith, isEQ, isSupportedBy, toStringgetColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, mergeWithpublic SuperColumnKeyEQRestriction(ColumnDefinition columnDef, Term value)
public java.nio.ByteBuffer bindValue(QueryOptions options)
public MultiCBuilder appendBoundTo(MultiCBuilder builder, Bound bound, QueryOptions options)
RestrictionRestriction for the specified bound to the specified builder.appendBoundTo in interface Restrictionbuilder - the MultiCBuilder to append to.bound - the boundoptions - the query optionsMultiCBuilderpublic void addRowFilterTo(RowFilter filter, SecondaryIndexManager indexManager, QueryOptions options) throws InvalidRequestException
RestrictionRestriction.addRowFilterTo in interface RestrictionaddRowFilterTo in class SingleColumnRestriction.EQRestrictionfilter - the row filter to add expressions toindexManager - the secondary index manageroptions - the query optionsInvalidRequestException - if this Restriction cannot be converted into a row filterpublic boolean isOnToken()
isOnToken in interface Restrictionpublic boolean isMultiColumn()
isMultiColumn in interface Restrictionpublic boolean isSlice()
isSlice in interface Restrictionpublic boolean isIN()
isIN in interface Restrictionpublic boolean isContains()
isContains in interface Restrictionpublic boolean isNotNull()
isNotNull in interface Restrictionpublic boolean hasBound(Bound b)
RestrictionhasBound in interface Restrictionb - the bound typetrue if the specified bound is set, false otherwisepublic boolean isInclusive(Bound b)
RestrictionisInclusive in interface Restrictionb - the bound typetrue if the specified bound is inclusive, false otherwiseprotected static Bound reverseBoundIfNeeded(ColumnDefinition columnDefinition, Bound bound)
columnDefinition - the column definitionbound - the boundCopyright © 2020 The Apache Software Foundation