Class IndexRestrictions

java.lang.Object
org.apache.cassandra.cql3.restrictions.IndexRestrictions

public class IndexRestrictions extends Object
  • Field Details

  • Constructor Details

    • IndexRestrictions

      public IndexRestrictions()
  • Method Details

    • add

      public void add(Restrictions restrictions)
    • add

      public void add(CustomIndexExpression expression)
    • isEmpty

      public boolean isEmpty()
    • getRestrictions

      public List<Restrictions> getRestrictions()
    • getCustomIndexExpressions

      public List<CustomIndexExpression> getCustomIndexExpressions()
    • needsFiltering

      public boolean needsFiltering(IndexRegistry indexRegistry)
      Returns whether these restrictions would need filtering if the specified index registry were used.
      Parameters:
      indexRegistry - an index registry
      Returns:
      true if this would need filtering if indexRegistry were used, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object