Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class SimpleQueryRecord.PartialResult.TraceStep

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.TraceStep

All Implemented Interfaces:
ExternalizableLite, PortableObject, QueryRecord.PartialResult.RecordableStep, QueryRecord.PartialResult.Step, QueryRecord.PartialResult.TraceStep, java.io.Serializable
Enclosing class:
SimpleQueryRecord.PartialResult

public class SimpleQueryRecord.PartialResult.TraceStep
extends SimpleQueryRecord.PartialResult.AbstractRecordableStep
implements QueryRecord.PartialResult.TraceStep

Simple QueryRecord.PartialResult.TraceStep 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.TraceStep(Filter filter)
          Construct a TraceStep

 

Method Summary
 QueryRecord.PartialResult.TraceStep ensureStep(Filter filter)
          Ensure an inner nested trace step for the given filter.
 void recordDuration(long cMillisElapsed)
          Record the time spent evaluating the filter or applying an index.
 void recordPostFilterKeys(int nSizeOut)
          Record the number of keys remaining after filter evaluation.

 

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.TraceStep

public SimpleQueryRecord.PartialResult.TraceStep(Filter filter)
Construct a TraceStep
Parameters:
filter - the step filter

Method Detail

recordPostFilterKeys

public void recordPostFilterKeys(int nSizeOut)
Record the number of keys remaining after filter evaluation. This method may be called repeatedly on the same step instance during the scan phase of a query trace plan operation. Each call will add to the total recorded post-evaluation key set size for this step.

During the scan phase of a query trace plan operation, each entry is evaluated against the filter individually. Each call to trace should record a key set count of 1 and a result key set count of fResult ? 1 : 0 where fResult is the result of a call to EntryFilter.evaluateEntry(Map.Entry).

Specified by:
recordPostFilterKeys in interface QueryRecord.PartialResult.TraceStep
Parameters:
nSizeOut - the number of keys remaining after filter evaluation

recordDuration

public void recordDuration(long cMillisElapsed)
Record the time spent evaluating the filter or applying an index. This method may be called repeatedly on the same step instance during the scan phase of a query trace plan operation. Calling this method repeatedly will add to the total duration recorded for this step.
Specified by:
recordDuration in interface QueryRecord.PartialResult.TraceStep
Parameters:
cMillisElapsed - the number of milliseconds spent evaluating the filter

ensureStep

public QueryRecord.PartialResult.TraceStep ensureStep(Filter filter)
Ensure an inner nested trace 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.TraceStep
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.