Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class SimpleQueryRecord.PartialResult.ExplainStep

java.lang.Object
  extended by com.tangosol.util.SimpleQueryRecord.PartialResult.Step
      extended by com.tangosol.util.SimpleQueryRecord.PartialResult.AbstractRecordableStep
          extended by 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.


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
SimpleQueryRecord.PartialResult.ExplainStep(Filter filter)
          Construct an ExplainStep

 

Method Summary
 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

 

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 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 Detail

SimpleQueryRecord.PartialResult.ExplainStep

public SimpleQueryRecord.PartialResult.ExplainStep(Filter filter)
Construct an ExplainStep
Parameters:
filter - the step filter

Method Detail

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

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.