public class SimpleQueryRecord.PartialResult.ExplainStep extends SimpleQueryRecord.PartialResult.AbstractRecordableStep implements QueryRecord.PartialResult.ExplainStep
m_mapSteps
m_cMillis, m_listSubSteps, m_nEfficiency, m_nSizeIn, m_nSizeOut, m_setIndexLookupRecords, m_sFilter
Constructor and Description |
---|
ExplainStep(Filter filter)
Construct an ExplainStep
|
Modifier and Type | Method and Description |
---|---|
QueryRecord.PartialResult.ExplainStep |
ensureStep(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 by
calculateEffectiveness |
recordExtractor, recordPreFilterKeys
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps, isMatching, merge, readExternal, readExternal, writeExternal, writeExternal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
recordExtractor, recordPreFilterKeys
getDuration, getEfficiency, getFilterDescription, getIndexLookupRecords, getPostFilterKeySetSize, getPreFilterKeySetSize, getSteps
public ExplainStep(Filter filter)
filter
- the step filterpublic void recordEfficiency(int nEfficiency)
calculateEffectiveness
recordEfficiency
in interface QueryRecord.PartialResult.ExplainStep
nEfficiency
- an effectiveness estimate of how well the associated filter can use any applicable indexpublic QueryRecord.PartialResult.ExplainStep ensureStep(Filter filter)
ensureStep
in interface QueryRecord.PartialResult.ExplainStep
filter
- the filter to associate the new step with