Class CustomIndexExpression

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

public class CustomIndexExpression extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • prepareValue

      public void prepareValue(TableMetadata table, AbstractType<?> expressionType, VariableSpecifications boundNames)
    • addToRowFilter

      public void addToRowFilter(RowFilter filter, TableMetadata table, QueryOptions options)
    • needsFiltering

      public boolean needsFiltering(Index.Group indexGroup)
      Returns whether this expression would need filtering if the specified index group were used.
      Parameters:
      indexGroup - an index group
      Returns:
      true if this would need filtering if indexGroup were used, false otherwise
    • toCQLString

      public String toCQLString()
    • toString

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object