Skip navigation links
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, java.io.Serializable
- Enclosing class:
- SimpleQueryRecord.PartialResult
-
public class SimpleQueryRecord.PartialResult.ExplainStep
- extends SimpleQueryRecord.PartialResult.AbstractRecordableStep
- implements QueryRecord.PartialResult.ExplainStep
Simple QueryRecord.PartialResult.ExplainStep implementation.
Methods inherited from class com.tangosol.util.SimpleQueryRecord.PartialResult.Step |
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps, isMatching, merge, readExternal, readExternal, writeExternal, writeExternal |
SimpleQueryRecord.PartialResult.ExplainStep
public SimpleQueryRecord.PartialResult.ExplainStep(Filter filter)
- Construct an ExplainStep
- Parameters:
filter
- the step filter
recordEfficiency
public void recordEfficiency(int nEfficiency)
- Record the calculated cost of applying the filter as defined by
calculateEffectiveness
-
- Specified by:
recordEfficiency
in interface QueryRecord.PartialResult.ExplainStep
-
- Parameters:
nEfficiency
- an effectiveness estimate of how well the associated filter can use any applicable index
ensureStep
public QueryRecord.PartialResult.ExplainStep ensureStep(Filter filter)
- 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 interface QueryRecord.PartialResult.ExplainStep
-
- Parameters:
filter
- the filter to associate the new step with
- Returns:
- the inner nested step associated with the given filter
Skip navigation links
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.