Class CustomIndexExpression
- java.lang.Object
-
- org.apache.cassandra.cql3.restrictions.CustomIndexExpression
-
public class CustomIndexExpression extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description QualifiedName
targetIndex
Term.Raw
valueRaw
-
Constructor Summary
Constructors Constructor Description CustomIndexExpression(QualifiedName targetIndex, Term.Raw value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToRowFilter(RowFilter filter, TableMetadata table, QueryOptions options)
boolean
equals(java.lang.Object o)
int
hashCode()
boolean
needsFiltering(Index.Group indexGroup)
Returns whether this expression would need filtering if the specified index group were used.void
prepareValue(TableMetadata table, AbstractType<?> expressionType, VariableSpecifications boundNames)
java.lang.String
toCQLString()
java.lang.String
toString()
-
-
-
Field Detail
-
targetIndex
public final QualifiedName targetIndex
-
valueRaw
public final Term.Raw valueRaw
-
-
Constructor Detail
-
CustomIndexExpression
public CustomIndexExpression(QualifiedName targetIndex, Term.Raw value)
-
-
Method Detail
-
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 ifindexGroup
were used,false
otherwise
-
toCQLString
public java.lang.String toCQLString()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-