Show / Hide Table of Contents

Class SimpleQueryRecord

Simple QueryRecord implementation.

Inheritance
object
SimpleQueryRecord
Implements
IQueryRecord
IPortableObject
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class SimpleQueryRecord : IQueryRecord, IPortableObject

Constructors

SimpleQueryRecord()

Default constructor (necessary for IPortableObject interface).

Declaration
public SimpleQueryRecord()

SimpleQueryRecord(RecordType, ICollection)

Construct a SimpleQueryRecord from the given collection of partial results.

Declaration
public SimpleQueryRecord(QueryRecorder.RecordType type, ICollection colResults)
Parameters
Type Name Description
QueryRecorder.RecordType type

The record type.

ICollection colResults

The collection of partial results.

Fields

m_listResults

The list of partial results.

Declaration
protected IList m_listResults
Field Value
Type Description
IList

m_type

This record type.

Declaration
protected QueryRecorder.RecordType m_type
Field Value
Type Description
QueryRecorder.RecordType

Properties

RecordType

The RecordType that was specified when this query record was created.

Declaration
public QueryRecorder.RecordType RecordType { get; }
Property Value
Type Description
QueryRecorder.RecordType

Results

The list of partial results for this query record.

Declaration
public IList Results { get; }
Property Value
Type Description
IList

Methods

MergeResults(ICollection)

Merge the partial results from the associated record. Matching partial results are merged into a single result for the report.

Declaration
protected void MergeResults(ICollection colResults)
Parameters
Type Name Description
ICollection colResults

The collection of partial results.

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.

ToString()

Returns a string representation of this SimpleQueryRecord.

Declaration
public override string ToString()
Returns
Type Description
string

A string representation of this SimpleQueryRecord.

Overrides
object.ToString()

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.

Implements

IQueryRecord
IPortableObject
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.