public abstract static class SingleColumnRestriction.INRestriction extends SingleColumnRestriction
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.SuperColumnMultiSliceRestrictioncolumnDef| Constructor and Description | 
|---|
| INRestriction(ColumnDefinition columnDef) | 
| 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 | appendTo(MultiCBuilder builder,
        QueryOptions options)Appends the values of this  SingleRestrictionto the specified builder. | 
| SingleRestriction | doMergeWith(SingleRestriction otherRestriction) | 
| protected abstract java.util.List<java.nio.ByteBuffer> | getValues(QueryOptions options) | 
| boolean | isIN() | 
| protected boolean | isSupportedBy(Index index)Check if this type of restriction is supported by the specified index. | 
getColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, mergeWithclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendBoundTo, hasBound, isContains, isEQ, isInclusive, isLIKE, isMultiColumn, isNotNull, isSliceaddFunctionsTo, isOnTokenpublic INRestriction(ColumnDefinition columnDef)
public final boolean isIN()
public final SingleRestriction doMergeWith(SingleRestriction otherRestriction)
doMergeWith in class SingleColumnRestrictionpublic MultiCBuilder appendTo(MultiCBuilder builder, QueryOptions options)
SingleRestrictionSingleRestriction to the specified builder.builder - the MultiCBuilder to append to.options - the query optionsMultiCBuilderpublic void addRowFilterTo(RowFilter filter, SecondaryIndexManager indexManager, QueryOptions options)
RestrictionRestriction.filter - the row filter to add expressions toindexManager - the secondary index manageroptions - the query optionsprotected final boolean isSupportedBy(Index index)
SingleColumnRestrictionisSupportedBy in class SingleColumnRestrictionindex - the secondary indextrue this type of restriction is supported by the specified index,
 false otherwise.protected abstract java.util.List<java.nio.ByteBuffer> getValues(QueryOptions options)
Copyright © 2018 The Apache Software Foundation