|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.SimpleQueryRecord.PartialResult.Step
public static class SimpleQueryRecord.PartialResult.Step
Simple QueryRecord.PartialResult.Step implementation.
| Field Summary | |
|---|---|
protected long |
m_cMillisThe execution time in milliseconds. |
protected java.util.List |
m_listSubStepsThe list of child steps. |
protected int |
m_nEfficiencyThe estimated cost. |
protected int |
m_nSizeInThe pre-execution key set size. |
protected int |
m_nSizeOutThe post-execution key set size. |
protected java.util.Set |
m_setIndexLookupRecordsThe set of index lookup records. |
protected java.lang.String |
m_sFilterThe filter description. |
| Constructor Summary | |
|---|---|
SimpleQueryRecord.PartialResult.Step()Default constructor (necessary for the ExternalizableLite interface). |
|
SimpleQueryRecord.PartialResult.Step(Filter filter)Construct a step. |
|
SimpleQueryRecord.PartialResult.Step(QueryRecord.PartialResult.Step step)Copy constructor for a Step. |
|
| Method Summary | |
|---|---|
long |
getDuration()Get the amount of time (in ms) spent evaluating the filter or applying an index for this query plan step. |
int |
getEfficiency()Get the calculated cost of applying the filter as defined by calculateEffectiveness |
java.lang.String |
getFilterDescription()Get a description of the filter that was associated with this step during its creation. |
java.util.Set |
getIndexLookupRecords()Get the recorded information about the index lookups performed during filter evaluation as part of a query record. |
int |
getPostFilterKeySetSize()Get the size of the key set remaining after evaluating the filter or applying an index. |
int |
getPreFilterKeySetSize()Get the size of the key set prior to evaluating the filter or applying an index. |
java.util.List |
getSteps()Return inner nested steps, may be null if not nested. |
protected boolean |
isMatching(QueryRecord.PartialResult.Step step)Determine whether or not the given step is capable of being placed in one-to-one correspondence with this step. |
protected void |
merge(QueryRecord.PartialResult.Step step)Merge the given step with this one. |
void |
readExternal(java.io.DataInput in)Restore the contents of this object by loading the object's state from the passed DataInput object. |
void |
readExternal(PofReader in)Restore the contents of a user type instance by reading its state using the specified PofReader object. |
void |
writeExternal(java.io.DataOutput out)Save the contents of this object by storing the object's state into the passed DataOutput object. |
void |
writeExternal(PofWriter out)Save the contents of a POF user type instance by writing its state using the specified PofWriter object. |
| Field Detail |
|---|
protected java.lang.String m_sFilter
protected int m_nEfficiency
protected int m_nSizeIn
protected int m_nSizeOut
protected long m_cMillis
protected java.util.Set m_setIndexLookupRecords
protected java.util.List m_listSubSteps
| Constructor Detail |
|---|
public SimpleQueryRecord.PartialResult.Step()
public SimpleQueryRecord.PartialResult.Step(Filter filter)
filter - the filterpublic SimpleQueryRecord.PartialResult.Step(QueryRecord.PartialResult.Step step)
step - the step to copy| Method Detail |
|---|
public java.util.List getSteps()
getSteps in interface QueryRecord.PartialResult.Steppublic java.lang.String getFilterDescription()
getFilterDescription in interface QueryRecord.PartialResult.Steppublic java.util.Set getIndexLookupRecords()
getIndexLookupRecords in interface QueryRecord.PartialResult.StepQueryRecord.PartialResult.IndexLookupRecordpublic int getEfficiency()
calculateEffectivenessgetEfficiency in interface QueryRecord.PartialResult.Steppublic int getPreFilterKeySetSize()
QueryRecord.PartialResult.Step.getPostFilterKeySetSize() to calculate an actual effectiveness (reduction of the key set) for this filter step.getPreFilterKeySetSize in interface QueryRecord.PartialResult.Steppublic int getPostFilterKeySetSize()
QueryRecord.PartialResult.Step.getPreFilterKeySetSize() to calculate an actual effectiveness (reduction of the key set) for this filter step.getPostFilterKeySetSize in interface QueryRecord.PartialResult.Steppublic long getDuration()
getDuration in interface QueryRecord.PartialResult.Stepprotected boolean isMatching(QueryRecord.PartialResult.Step step)
step - the step to checkprotected void merge(QueryRecord.PartialResult.Step step)
step - the step to merge
public void readExternal(java.io.DataInput in)
throws java.io.IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore the state of this objectjava.io.IOException - if an I/O exception occursjava.io.NotActiveException - if the object is not in its initial state, and therefore cannot be deserialized into
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object tojava.io.IOException - if an I/O exception occurs
public void readExternal(PofReader in)
throws java.io.IOException
readExternal in interface PortableObjectin - the PofReader from which to read the object's statejava.io.IOException - if an I/O error occurs
public void writeExternal(PofWriter out)
throws java.io.IOException
writeExternal in interface PortableObjectout - the PofWriter to which to write the object's statejava.io.IOException - if an I/O error occurs
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||