Class SimpleQueryRecord.PartialResult
Simple IPartialResult implementation.
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class SimpleQueryRecord.PartialResult : IPartialResult, IPortableObject
Constructors
PartialResult()
Default constructor (necessary for IPortableObject interface).
Declaration
public PartialResult()
PartialResult(IPartialResult)
Copy constructor for a IPartialResult.
Declaration
public PartialResult(IPartialResult colResult)
Parameters
Type | Name | Description |
---|---|---|
IPartialResult | colResult | The IPartialResult to copy. |
Fields
m_listSteps
The map of steps.
Declaration
protected IList m_listSteps
Field Value
Type | Description |
---|---|
IList |
m_partMask
The partitions.
Declaration
protected PartitionSet m_partMask
Field Value
Type | Description |
---|---|
PartitionSet |
Properties
Partitions
The set of partitions associated with this partial result.
Declaration
public PartitionSet Partitions { get; }
Property Value
Type | Description |
---|---|
PartitionSet |
Steps
The list of steps for this query record partial result in the order that they occurred.
Declaration
public IList Steps { get; }
Property Value
Type | Description |
---|---|
IList |
Methods
IsMatching(IPartialResult)
Determine whether or not the given result is capable of being placed in one-to-one correspondence with this result. Results are matching if their owned lists of steps have the same size, and all pairs of steps in the two lists are matching.
Declaration
public bool IsMatching(IPartialResult result)
Parameters
Type | Name | Description |
---|---|---|
IPartialResult | result | The result to be checked. |
Returns
Type | Description |
---|---|
bool | True iff the given result matches with this result. |
Merge(IPartialResult)
Merge the given result with this one.
Declaration
public void Merge(IPartialResult result)
Parameters
Type | Name | Description |
---|---|---|
IPartialResult | result | The result 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. |