org.opends.server.backends.jeb
Class IndexFilter

java.lang.Object
  extended by org.opends.server.backends.jeb.IndexFilter

public class IndexFilter
extends java.lang.Object

An index filter is used to apply a search operation to a set of indexes to generate a set of candidate entries.


Field Summary
static int FILTER_CANDIDATE_THRESHOLD
          Stop processing the filter against the indexes when the number of candidates is smaller than this value.
 
Constructor Summary
IndexFilter(EntryContainer entryContainer, SearchOperation searchOp, java.lang.StringBuilder debugBuilder)
          Construct an index filter for a search operation.
 
Method Summary
 EntryIDSet evaluate()
          Evaluate the search operation against the indexes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_CANDIDATE_THRESHOLD

public static final int FILTER_CANDIDATE_THRESHOLD
Stop processing the filter against the indexes when the number of candidates is smaller than this value.

See Also:
Constant Field Values
Constructor Detail

IndexFilter

public IndexFilter(EntryContainer entryContainer,
                   SearchOperation searchOp,
                   java.lang.StringBuilder debugBuilder)
Construct an index filter for a search operation.

Parameters:
entryContainer - The entry entryContainer.
searchOp - The search operation to be evaluated.
debugBuilder - If not null, a diagnostic string will be written which will help determine how the indexes contributed to this search.
Method Detail

evaluate

public EntryIDSet evaluate()
Evaluate the search operation against the indexes.

Returns:
A set of entry IDs representing candidate entries.