Class Expression

java.lang.Object
org.apache.cassandra.index.sai.plan.Expression
Direct Known Subclasses:
Expression.IndexedExpression, Expression.UnindexedExpression

public abstract class Expression extends Object
An Expression is an internal representation of an index query operation. They are built from CQL Operator and ByteBuffer value pairs for a single column.

Each Expression consists of an Expression.IndexOperator and optional lower and upper Expression.Bounds.

The Expression.IndexedExpression has a backing StorageAttachedIndex for the index query but order to support CQL expressions on columns that do not have indexes or use operators that are not supported by the index there is an Expression.UnindexedExpression that does not provide a StorageAttachedIndex and can only be used for post-filtering