public static interface QueryRecord.PartialResult.ExplainStep extends QueryRecord.PartialResult.RecordableStep
QueryRecord.PartialResult.RecordableStep that provides the ability to record the estimated cost of evaluating a filter as part of a query operation.| Modifier and Type | Method and Description |
|---|---|
QueryRecord.PartialResult.ExplainStep |
ensureStep(Filter filter)
Ensure an inner nested explain step for the given filter.
|
void |
recordEfficiency(int nCost)
Record the calculated cost of applying the filter as defined by
calculateEffectiveness |
recordExtractor, recordPreFilterKeysgetDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getStepsvoid recordEfficiency(int nCost)
calculateEffectivenessnCost - an effectiveness estimate of how well the associated filter can use any applicable indexQueryRecord.PartialResult.ExplainStep ensureStep(Filter filter)
filter - the filter to associate the new step with