public static interface QueryRecord.PartialResult.TraceStep extends QueryRecord.PartialResult.RecordableStep
QueryRecord.PartialResult.RecordableStep that provides the ability to record the information associated with the actual cost of evaluating a filter as part of a query operation.| Modifier and Type | Method and Description |
|---|---|
QueryRecord.PartialResult.TraceStep |
ensureStep(Filter filter)
Ensure an inner nested trace step for the given filter.
|
void |
recordDuration(long cMillis)
Record the time spent evaluating the filter or applying an index.
|
void |
recordPostFilterKeys(int cKeys)
Record the number of keys remaining after filter evaluation.
|
recordExtractor, recordPreFilterKeysgetDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getStepsvoid recordPostFilterKeys(int cKeys)
During the scan phase of a query trace plan operation, each entry is evaluated against the filter individually. Each call to trace should record a key set count of 1 and a result key set count of fResult ? 1 : 0 where fResult is the result of a call to EntryFilter.evaluateEntry(Map.Entry).
cKeys - the number of keys remaining after filter evaluationvoid recordDuration(long cMillis)
cMillis - the number of milliseconds spent evaluating the filterQueryRecord.PartialResult.TraceStep ensureStep(Filter filter)
filter - the filter to associate the new step with