Class SimpleQueryRecord.PartialResult.Step
Simple IQueryRecord.IPartialResult.IStep implementation.
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class SimpleQueryRecord.PartialResult.Step : IStep, IPortableObject
Constructors
Step()
Default constructor (necessary for IPortableObject interface).
Declaration
public Step()
Step(IStep)
Copy constructor for an IStep.
Declaration
public Step(IStep step)
Parameters
Type | Name | Description |
---|---|---|
IStep | step | The step to copy. |
Fields
m_cMillis
The execution time in milliseconds.
Declaration
protected long m_cMillis
Field Value
Type | Description |
---|---|
long |
m_listSubSteps
The list of child steps.
Declaration
protected IList m_listSubSteps
Field Value
Type | Description |
---|---|
IList |
m_nEfficiency
The estimated cost.
Declaration
protected int m_nEfficiency
Field Value
Type | Description |
---|---|
int |
m_nSizeIn
The pre-execution key set size.
Declaration
protected int m_nSizeIn
Field Value
Type | Description |
---|---|
int |
m_nSizeOut
The post-execution key set size.
Declaration
protected int m_nSizeOut
Field Value
Type | Description |
---|---|
int |
m_sFilter
The filter description.
Declaration
protected string m_sFilter
Field Value
Type | Description |
---|---|
string |
m_setIndexLookupRecords
The set of index lookup records.
Declaration
protected IList m_setIndexLookupRecords
Field Value
Type | Description |
---|---|
IList |
Properties
Duration
The amount of time (in ms) spent evaluating the filter or applying an index for this query plan step.
Declaration
public long Duration { get; }
Property Value
Type | Description |
---|---|
long |
Efficiency
The calculated cost of applying the filter as defined by IIndexAwareFilter.CalculateEffectiveness(IDictionary, ICollection).
Declaration
public int Efficiency { get; }
Property Value
Type | Description |
---|---|
int |
FilterDescription
A description of the filter that was associated with this step during its creation.
Declaration
public string FilterDescription { get; }
Property Value
Type | Description |
---|---|
string |
IndexLookupRecords
The recorded information about the index lookups performed during filter evaluation as part of an IQueryRecord.
Declaration
public ICollection IndexLookupRecords { get; }
Property Value
Type | Description |
---|---|
ICollection |
PostFilterKeySetSize
The size of the key set remaining after evaluating the filter or applying an index. This value can be used together with PreFilterKeySetSize to calculate an actual effectiveness (reduction of the key set) for this filter step.
Declaration
public int PostFilterKeySetSize { get; }
Property Value
Type | Description |
---|---|
int |
PreFilterKeySetSize
The size of the key set prior to evaluating the filter or applying an index.
This value can be used together with PostFilterKeySetSize to calculate
an actual effectiveness (reduction of the key set) for this filter step.
Declaration
public int PreFilterKeySetSize { get; }
Property Value
Type | Description |
---|---|
int |
Steps
The inner nested steps, may be null if not nested.
Declaration
public IList Steps { get; }
Property Value
Type | Description |
---|---|
IList |
Methods
IsMatching(IStep)
Determine whether or not the given step is capable of being placed in one-to-one correspondence with this step. Steps are defined to be matching if both steps have equivalent name, index lookup records and owned lists of sub-steps.
Declaration
public bool IsMatching(IStep step)
Parameters
Type | Name | Description |
---|---|---|
IStep | step | The IStep to be checked. |
Returns
Type | Description |
---|---|
bool | True iff the given step matches with this step. |
Merge(IStep)
Merge the given step with this one. This method assumes that the given step matches with this one.
Declaration
public void Merge(IStep step)
Parameters
Type | Name | Description |
---|---|---|
IStep | step | The IStep to merge. |
ReadExternal(IPofReader)
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Declaration
public virtual void ReadExternal(IPofReader reader)
Parameters
Type | Name | Description |
---|---|---|
IPofReader | reader | The IPofReader from which to read the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |
WriteExternal(IPofWriter)
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Declaration
public virtual void WriteExternal(IPofWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IPofWriter | writer | The IPofWriter to which to write the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |