Skip navigation links
com.tangosol.util
Class SimpleQueryRecord.PartialResult.AbstractRecordableStep
java.lang.Object
com.tangosol.util.SimpleQueryRecord.PartialResult.Step
com.tangosol.util.SimpleQueryRecord.PartialResult.AbstractRecordableStep
- All Implemented Interfaces:
- ExternalizableLite, PortableObject, QueryRecord.PartialResult.RecordableStep, QueryRecord.PartialResult.Step, java.io.Serializable
- Direct Known Subclasses:
- SimpleQueryRecord.PartialResult.ExplainStep, SimpleQueryRecord.PartialResult.TraceStep
- Enclosing class:
- SimpleQueryRecord.PartialResult
-
public abstract class SimpleQueryRecord.PartialResult.AbstractRecordableStep
- extends SimpleQueryRecord.PartialResult.Step
- implements QueryRecord.PartialResult.RecordableStep
Simple abstract RecordableStep implementation.
Field Summary |
protected java.util.Map |
m_mapSteps
The Map of child steps. |
Method Summary |
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 nSizeIn)
Record the number of keys passed to the filter for evaluation. |
Methods inherited from class com.tangosol.util.SimpleQueryRecord.PartialResult.Step |
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps, isMatching, merge, readExternal, readExternal, writeExternal, writeExternal |
m_mapSteps
protected java.util.Map m_mapSteps
- The Map of child steps.
SimpleQueryRecord.PartialResult.AbstractRecordableStep
public SimpleQueryRecord.PartialResult.AbstractRecordableStep(Filter filter)
- Construct an AbstractRecordableStep.
- Parameters:
filter
- the step filter
recordPreFilterKeys
public void recordPreFilterKeys(int nSizeIn)
- 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 of 1
.
-
- Specified by:
recordPreFilterKeys
in interface QueryRecord.PartialResult.RecordableStep
-
- Parameters:
nSizeIn
- the number of keys to be evaluated
recordExtractor
public 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.
-
- Specified by:
recordExtractor
in interface QueryRecord.PartialResult.RecordableStep
-
- Parameters:
extractor
- the extractor associated with the filter for this step
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.