Class SingleColumnRestriction.IsNotNullRestriction

java.lang.Object
org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.IsNotNullRestriction
All Implemented Interfaces:
Restriction, SingleRestriction
Enclosing class:
SingleColumnRestriction

public static final class SingleColumnRestriction.IsNotNullRestriction extends SingleColumnRestriction
  • Constructor Details

    • IsNotNullRestriction

      public IsNotNullRestriction(ColumnMetadata columnDef)
  • Method Details

    • addFunctionsTo

      public void addFunctionsTo(List<Function> functions)
      Description copied from interface: Restriction
      Adds 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()
    • addToRowFilter

      public void addToRowFilter(RowFilter filter, IndexRegistry indexRegistry, QueryOptions options)
      Description copied from interface: Restriction
      Adds to the specified row filter the expressions corresponding to this Restriction.
      Parameters:
      filter - the row filter to add expressions to
      indexRegistry - the index registry
      options - the query options
    • appendTo

      public MultiCBuilder appendTo(MultiCBuilder builder, QueryOptions options)
      Description copied from interface: SingleRestriction
      Appends the values of this SingleRestriction to the specified builder.
      Parameters:
      builder - the MultiCBuilder to append to.
      options - the query options
      Returns:
      the MultiCBuilder
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • doMergeWith

      public SingleRestriction doMergeWith(SingleRestriction otherRestriction)
      Specified by:
      doMergeWith in class SingleColumnRestriction
    • isSupportedBy

      protected boolean isSupportedBy(Index index)
      Description copied from class: SingleColumnRestriction
      Check if this type of restriction is supported by the specified index.
      Specified by:
      isSupportedBy in class SingleColumnRestriction
      Parameters:
      index - the secondary index
      Returns:
      true this type of restriction is supported by the specified index, false otherwise.