Interface Index.Searcher

All Known Implementing Classes:
CassandraIndexSearcher, CompositesSearcher, KeysSearcher, SASIIndexSearcher, StorageAttachedIndexSearcher
Enclosing interface:
Index

public static interface Index.Searcher
Performs the actual index lookup during execution of a ReadCommand. An instance performs its query according to the RowFilter.Expression it was created for (see searcherFor) An Expression is a predicate of the form [column] [operator] [value].
  • Method Details

    • command

      ReadCommand command()
      Returns the ReadCommand for which this searcher has been created.
      Returns:
      the base read command
    • search

      Parameters:
      executionController - the collection of OpOrder.Groups which the ReadCommand is being performed under.
      Returns:
      partitions from the base table matching the criteria of the search.
    • filterReplicaFilteringProtection

      default PartitionIterator filterReplicaFilteringProtection(PartitionIterator fullResponse)
      Replica filtering protection may fetch data that doesn't match query conditions. On coordinator, we need to filter the replicas' responses again. This will not be called if Index.QueryPlan.supportsReplicaFilteringProtection(RowFilter) returns false.
      Returns:
      filtered response that satisfied query conditions