Class FilterTree
java.lang.Object
org.apache.cassandra.index.sai.plan.FilterTree
Tree-like structure to filter base table data using indexed expressions and non-user-defined filters.
This is needed because: 1. SAI doesn't index tombstones, base data may have been shadowed. 2. Replica filter protecting may fetch data that doesn't match index expressions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Operation.BooleanOperatorprotected final List<FilterTree>protected final Operation.Expressions -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSatisfiedBy(DecoratedKey key, Row row, Row staticRow) boolean
-
Field Details
-
baseOperator
-
expressions
-
children
-
-
Method Details
-
restrictsNonStaticRow
public boolean restrictsNonStaticRow()- Returns:
- true if this node of the tree or any of its children filter a non-static column
-
isSatisfiedBy
-