public abstract static class SingleColumnRestriction.SuperColumnKeyINRestriction extends SingleColumnRestriction.INRestriction
SingleColumnRestriction.ContainsRestriction, SingleColumnRestriction.EQRestriction, SingleColumnRestriction.INRestriction, SingleColumnRestriction.InRestrictionWithMarker, SingleColumnRestriction.InRestrictionWithValues, SingleColumnRestriction.IsNotNullRestriction, SingleColumnRestriction.LikeRestriction, SingleColumnRestriction.SliceRestriction, SingleColumnRestriction.SuperColumnKeyEQRestriction, SingleColumnRestriction.SuperColumnKeyINRestriction, SingleColumnRestriction.SuperColumnKeyINRestrictionWithMarkers, SingleColumnRestriction.SuperColumnKeyINRestrictionWithValues, SingleColumnRestriction.SuperColumnKeySliceRestriction, SingleColumnRestriction.SuperColumnMultiEQRestriction, SingleColumnRestriction.SuperColumnMultiSliceRestriction
columnDef
Constructor and Description |
---|
SuperColumnKeyINRestriction(ColumnDefinition columnDef) |
Modifier and Type | Method and Description |
---|---|
void |
addFunctionsTo(java.util.List<Function> functions)
Adds all functions (native and user-defined) used by any component of the restriction
to the specified list.
|
void |
addRowFilterTo(RowFilter filter,
SecondaryIndexManager indexManager,
QueryOptions options)
Adds to the specified row filter the expressions corresponding to this
Restriction . |
MultiCBuilder |
appendTo(MultiCBuilder builder,
QueryOptions options)
Appends the values of this
SingleRestriction to the specified builder. |
abstract java.util.List<java.nio.ByteBuffer> |
getValues(QueryOptions options) |
doMergeWith, isIN, isSupportedBy
getColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, mergeWith
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendBoundTo, hasBound, isContains, isEQ, isInclusive, isLIKE, isMultiColumn, isNotNull, isSlice
isOnToken
public SuperColumnKeyINRestriction(ColumnDefinition columnDef)
public MultiCBuilder appendTo(MultiCBuilder builder, QueryOptions options)
SingleRestriction
SingleRestriction
to the specified builder.appendTo
in interface SingleRestriction
appendTo
in class SingleColumnRestriction.INRestriction
builder
- the MultiCBuilder
to append to.options
- the query optionsMultiCBuilder
public void addRowFilterTo(RowFilter filter, SecondaryIndexManager indexManager, QueryOptions options) throws InvalidRequestException
Restriction
Restriction
.addRowFilterTo
in interface Restriction
addRowFilterTo
in class SingleColumnRestriction.INRestriction
filter
- the row filter to add expressions toindexManager
- the secondary index manageroptions
- the query optionsInvalidRequestException
public void addFunctionsTo(java.util.List<Function> functions)
Restriction
functions
- the list to add topublic abstract java.util.List<java.nio.ByteBuffer> getValues(QueryOptions options) throws InvalidRequestException
getValues
in class SingleColumnRestriction.INRestriction
InvalidRequestException
Copyright © 2018 The Apache Software Foundation