public static class MultiColumnRestriction.NotNullRestriction extends MultiColumnRestriction
MultiColumnRestriction.EQRestriction, MultiColumnRestriction.INRestriction, MultiColumnRestriction.InRestrictionWithMarker, MultiColumnRestriction.InRestrictionWithValues, MultiColumnRestriction.NotNullRestriction, MultiColumnRestriction.SliceRestrictioncolumnDefs| Constructor and Description |
|---|
NotNullRestriction(java.util.List<ColumnDefinition> columnDefs) |
| 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 indexMananger,
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 |
isNotNull() |
protected boolean |
isSupportedBy(Index index)
Check if this type of restriction is supported for by the specified index.
|
java.lang.String |
toString() |
getColumnDefs, getColumnsInCommons, getFirstColumn, getLastColumn, hasSupportingIndex, isMultiColumn, mergeWithclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendBoundTo, hasBound, isContains, isEQ, isIN, isInclusive, isLIKE, isSliceisOnTokenpublic NotNullRestriction(java.util.List<ColumnDefinition> columnDefs)
public void addFunctionsTo(java.util.List<Function> functions)
Restrictionfunctions - the list to add topublic boolean isNotNull()
public java.lang.String toString()
toString in class java.lang.Objectpublic SingleRestriction doMergeWith(SingleRestriction otherRestriction)
doMergeWith in class MultiColumnRestrictionprotected boolean isSupportedBy(Index index)
MultiColumnRestrictionisSupportedBy in class MultiColumnRestrictionindex - the secondary indextrue this type of restriction is supported by the specified index,
false otherwise.public MultiCBuilder appendTo(MultiCBuilder builder, QueryOptions options)
SingleRestrictionSingleRestriction to the specified builder.builder - the MultiCBuilder to append to.options - the query optionsMultiCBuilderpublic final void addRowFilterTo(RowFilter filter, SecondaryIndexManager indexMananger, QueryOptions options)
RestrictionRestriction.filter - the row filter to add expressions toindexMananger - the secondary index manageroptions - the query optionsCopyright © 2018 The Apache Software Foundation