Class MultiColumnRestriction.NotNullRestriction
java.lang.Object
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.NotNullRestriction
- All Implemented Interfaces:
Restriction,SingleRestriction
- Enclosing class:
- MultiColumnRestriction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
MultiColumnRestriction.EQRestriction, MultiColumnRestriction.INRestriction, MultiColumnRestriction.InRestrictionWithMarker, MultiColumnRestriction.InRestrictionWithValues, MultiColumnRestriction.NotNullRestriction, MultiColumnRestriction.SliceRestriction -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
columnDefs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFunctionsTo(List<Function> functions) Adds all functions (native and user-defined) used by any component of the restriction to the specified list.final voidaddToRowFilter(RowFilter filter, IndexRegistry indexRegistry, QueryOptions options) Adds to the specified row filter the expressions corresponding to thisRestriction.appendTo(MultiCBuilder builder, QueryOptions options) Appends the values of thisSingleRestrictionto the specified builder.doMergeWith(SingleRestriction otherRestriction) booleanprotected booleanisSupportedBy(Index index, ColumnMetadata column) toString()Methods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
findSupportingIndex, findSupportingIndexFromQueryPlan, getColumnDefs, getColumnsInCommons, getFirstColumn, getLastColumn, hasSupportingIndex, isMultiColumn, mergeWith, needsFilteringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.restrictions.Restriction
isOnTokenMethods inherited from interface org.apache.cassandra.cql3.restrictions.SingleRestriction
appendBoundTo, hasBound, isANN, isContains, isEQ, isEqualityBased, isIN, isInclusive, isLIKE, isSlice
-
Constructor Details
-
NotNullRestriction
-
-
Method Details
-
addFunctionsTo
Description copied from interface:RestrictionAdds all functions (native and user-defined) used by any component of the restriction to the specified list.- Parameters:
functions- the list to add to
-
isNotNull
public boolean isNotNull() -
toString
- Overrides:
toStringin classMultiColumnRestriction
-
doMergeWith
- Specified by:
doMergeWithin classMultiColumnRestriction
-
isSupportedBy
- Specified by:
isSupportedByin classMultiColumnRestriction
-
appendTo
Description copied from interface:SingleRestrictionAppends the values of thisSingleRestrictionto the specified builder.- Parameters:
builder- theMultiCBuilderto append to.options- the query options- Returns:
- the
MultiCBuilder
-
addToRowFilter
public final void addToRowFilter(RowFilter filter, IndexRegistry indexRegistry, QueryOptions options) Description copied from interface:RestrictionAdds to the specified row filter the expressions corresponding to thisRestriction.- Parameters:
filter- the row filter to add expressions toindexRegistry- the index registryoptions- the query options
-