Package 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
,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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Filter,SimpleQueryRecord.PartialResult.Step>
m_mapSteps
The Map of child steps.-
Fields inherited from class com.tangosol.util.SimpleQueryRecord.PartialResult.Step
m_cMillis, m_listSubSteps, m_nEfficiency, m_nSizeIn, m_nSizeOut, m_setIndexLookupRecords, m_sFilter
-
-
Constructor Summary
Constructors Constructor Description AbstractRecordableStep(Filter filter)
Construct an AbstractRecordableStep.
-
Method Summary
All Methods Instance Methods Concrete 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 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.util.QueryRecord.PartialResult.Step
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps
-
-
-
-
Field Detail
-
m_mapSteps
protected Map<Filter,SimpleQueryRecord.PartialResult.Step> m_mapSteps
The Map of child steps.
-
-
Constructor Detail
-
AbstractRecordableStep
public AbstractRecordableStep(Filter filter)
Construct an AbstractRecordableStep.- Parameters:
filter
- the step filter
-
-
Method Detail
-
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 of1
.- Specified by:
recordPreFilterKeys
in interfaceQueryRecord.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 interfaceQueryRecord.PartialResult.RecordableStep
- Parameters:
extractor
- the extractor associated with the filter for this step
-
-