public static class SingleColumnRestriction.EQRestriction 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.SuperColumnMultiSliceRestriction| Modifier and Type | Field and Description |
|---|---|
Term |
value |
columnDef| Constructor and Description |
|---|
EQRestriction(ColumnDefinition columnDef,
Term value) |
| 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. |
SingleRestriction |
doMergeWith(SingleRestriction otherRestriction) |
boolean |
isEQ() |
protected boolean |
isSupportedBy(Index index)
Check if this type of restriction is supported by the specified index.
|
java.lang.String |
toString() |
getColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, mergeWithclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendBoundTo, hasBound, isContains, isIN, isInclusive, isLIKE, isMultiColumn, isNotNull, isSliceisOnTokenpublic final Term value
public EQRestriction(ColumnDefinition columnDef, Term value)
public void addFunctionsTo(java.util.List<Function> functions)
Restrictionfunctions - the list to add topublic boolean isEQ()
public void addRowFilterTo(RowFilter filter, SecondaryIndexManager indexManager, QueryOptions options)
RestrictionRestriction.filter - the row filter to add expressions toindexManager - the secondary index manageroptions - the query optionspublic MultiCBuilder appendTo(MultiCBuilder builder, QueryOptions options)
SingleRestrictionSingleRestriction to the specified builder.builder - the MultiCBuilder to append to.options - the query optionsMultiCBuilderpublic java.lang.String toString()
toString in class java.lang.Objectpublic SingleRestriction doMergeWith(SingleRestriction otherRestriction)
doMergeWith in class SingleColumnRestrictionprotected boolean isSupportedBy(Index index)
SingleColumnRestrictionisSupportedBy in class SingleColumnRestrictionindex - the secondary indextrue this type of restriction is supported by the specified index,
false otherwise.Copyright © 2018 The Apache Software Foundation