Package com.tangosol.util
Interface QueryRecord.PartialResult.RecordableStep
-
- All Superinterfaces:
QueryRecord.PartialResult.Step
- All Known Subinterfaces:
QueryRecord.PartialResult.ExplainStep
,QueryRecord.PartialResult.TraceStep
- All Known Implementing Classes:
SimpleQueryRecord.PartialResult.AbstractRecordableStep
,SimpleQueryRecord.PartialResult.ExplainStep
,SimpleQueryRecord.PartialResult.TraceStep
- Enclosing interface:
- QueryRecord.PartialResult
public static interface QueryRecord.PartialResult.RecordableStep extends QueryRecord.PartialResult.Step
A QueryRecord.RecordableStep is astep
that provides the ability to record the cost of evaluating a filter as part of a query operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
recordExtractor(ValueExtractor extractor)
Record all relevant index information for any index associated with the given extractor (e.g. index lookup and range scan).void
recordPreFilterKeys(int cKeys)
Record the number of keys passed to the filter for evaluation.-
Methods inherited from interface com.tangosol.util.QueryRecord.PartialResult.Step
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps
-
-
-
-
Method Detail
-
recordPreFilterKeys
void recordPreFilterKeys(int cKeys)
Record the number of keys passed to the filter for evaluation. This method may be called repeatedly on the same step instance. Each call will add to the total recorded pre-evaluation key set size for this step.During the scan phase of a query trace operation, each entry is individually evaluated against the filter. Each call to
trace
should record a key count of1
.- Parameters:
cKeys
- the number of keys to be evaluated
-
recordExtractor
void recordExtractor(ValueExtractor extractor)
Record all relevant index information for any index associated with the given extractor (e.g. index lookup and range scan). This method may be called multiple times if there is more than one extractor associated with the filter used to create this step.- Parameters:
extractor
- the extractor associated with the filter for this step
-
-