Package com.tangosol.util
Class SimpleQueryRecord.PartialResult.ExplainStep
java.lang.Object
com.tangosol.util.SimpleQueryRecord.PartialResult.Step
com.tangosol.util.SimpleQueryRecord.PartialResult.AbstractRecordableStep
com.tangosol.util.SimpleQueryRecord.PartialResult.ExplainStep
- All Implemented Interfaces:
ExternalizableLite
,PortableObject
,QueryRecord.PartialResult.ExplainStep
,QueryRecord.PartialResult.RecordableStep
,QueryRecord.PartialResult.Step
,Serializable
- Enclosing class:
SimpleQueryRecord.PartialResult
public class SimpleQueryRecord.PartialResult.ExplainStep
extends SimpleQueryRecord.PartialResult.AbstractRecordableStep
implements QueryRecord.PartialResult.ExplainStep
Simple QueryRecord.PartialResult.ExplainStep implementation.
- See Also:
-
Field Summary
Fields inherited from class com.tangosol.util.SimpleQueryRecord.PartialResult.AbstractRecordableStep
m_mapSteps
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
-
Method Summary
Modifier and TypeMethodDescriptionensureStep
(Filter filter) Ensure an inner nested explain step for the given filter.void
recordEfficiency
(int nEfficiency) Record the calculated cost of applying the filter as defined bycalculateEffectiveness
Methods inherited from class com.tangosol.util.SimpleQueryRecord.PartialResult.AbstractRecordableStep
recordExtractor, recordPreFilterKeys
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.RecordableStep
recordExtractor, recordPreFilterKeys
Methods inherited from interface com.tangosol.util.QueryRecord.PartialResult.Step
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps
-
Constructor Details
-
ExplainStep
Construct an ExplainStep- Parameters:
filter
- the step filter
-
-
Method Details
-
recordEfficiency
public void recordEfficiency(int nEfficiency) Record the calculated cost of applying the filter as defined bycalculateEffectiveness
- Specified by:
recordEfficiency
in interfaceQueryRecord.PartialResult.ExplainStep
- Parameters:
nEfficiency
- an effectiveness estimate of how well the associated filter can use any applicable index
-
ensureStep
Ensure an inner nested explain step for the given filter. If there is no inner nested step associated with the given filter then a new step is created.- Specified by:
ensureStep
in interfaceQueryRecord.PartialResult.ExplainStep
- Parameters:
filter
- the filter to associate the new step with- Returns:
- the inner nested step associated with the given filter
-