Class SingleColumnRestriction.INRestriction

java.lang.Object
org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.INRestriction
All Implemented Interfaces:
Restriction, SingleRestriction
Direct Known Subclasses:
SingleColumnRestriction.InRestrictionWithMarker, SingleColumnRestriction.InRestrictionWithValues
Enclosing class:
SingleColumnRestriction

public abstract static class SingleColumnRestriction.INRestriction extends SingleColumnRestriction
  • Constructor Details

  • Method Details

    • isIN

      public final boolean isIN()
    • doMergeWith

      public final SingleRestriction doMergeWith(SingleRestriction otherRestriction)
      Specified by:
      doMergeWith in class SingleColumnRestriction
    • 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
    • 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
    • isSupportedBy

      protected final 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.
    • getValues

      protected abstract List<ByteBuffer> getValues(QueryOptions options)