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_mapStepsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionensureStep(Filter filter) Ensure an inner nested explain step for the given filter.voidrecordEfficiency(int nEfficiency) Record the calculated cost of applying the filter as defined bycalculateEffectivenessMethods inherited from class com.tangosol.util.SimpleQueryRecord.PartialResult.AbstractRecordableStep
recordExtractor, recordPreFilterKeysMethods inherited from class com.tangosol.util.SimpleQueryRecord.PartialResult.Step
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps, isMatching, merge, readExternal, readExternal, writeExternal, writeExternalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.util.QueryRecord.PartialResult.RecordableStep
recordExtractor, recordPreFilterKeysMethods 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:
recordEfficiencyin 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:
ensureStepin interfaceQueryRecord.PartialResult.ExplainStep- Parameters:
filter- the filter to associate the new step with- Returns:
- the inner nested step associated with the given filter
-