Class FilterTree

java.lang.Object
org.apache.cassandra.index.sai.plan.FilterTree

public class FilterTree extends Object
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 Details

  • 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

      public boolean isSatisfiedBy(DecoratedKey key, Row row, Row staticRow)