Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

SimpleQueryRecord::PartialResult Class Reference

#include <coherence/util/SimpleQueryRecord.hpp>

Inherits Object, and PortableObject.

List of all members.


Detailed Description

Simple QueryRecord::PartialResult implementation.

 

Public Types

typedef spec::Handle  Handle
  PartialResult Handle definition.
typedef spec::View  View
  PartialResult View definition.
typedef spec::Holder  Holder
  PartialResult Holder definition.
typedef this_spec::Handle  Handle
  PortableObject Handle definition.
typedef this_spec::View  View
  PortableObject View definition.
typedef this_spec::Holder  Holder
  PortableObject Holder definition.

Public Member Functions

virtual List::View  getSteps () const
   
virtual
PartitionSet::Handle 
getPartitions ()
   
virtual
PartitionSet::View 
getPartitions () const
   
virtual void  merge (QueryRecord::PartialResult::View vResult)
  Merge the given result with this one.
virtual bool  isMatching (QueryRecord::PartialResult::View vResult) const
  Determine whether or not the given result is capable of being placed in one-to-one correspondence with this result.
virtual void  readExternal (PofReader::Handle hIn)
   
virtual void  writeExternal (PofWriter::Handle hOut) const
   

Protected Member Functions

  PartialResult ()
  Construct a PartialResult.
  PartialResult (QueryRecord::PartialResult::View vThat)
  Copy constructor for a Result.

Protected Attributes

MemberHandle< List m_hListSteps
  The map of steps.
MemberHandle
< PartitionSet
m_hPartMask
  The partitions.

Classes

class   IndexLookupRecord
  Simple QueryRecord::PartialResult::IndexLookupRecord implementation. More...
class   Step
  Simple QueryRecord::PartialResult::Step implementation. More...

Constructor & Destructor Documentation

PartialResult ( QueryRecord::PartialResult::View  vThat  )  [protected]

Copy constructor for a Result.

Parameters:
  vThat  the result to copy

Member Function Documentation

virtual void merge ( QueryRecord::PartialResult::View  vResult  )  [virtual]

Merge the given result with this one.

Parameters:
  vResult  the result to merge

virtual bool isMatching ( QueryRecord::PartialResult::View  vResult  )  const [virtual]

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.

Parameters:
  vResult  the result to be checked
Returns:
true iff the given result matches with this result

The documentation for this class was generated from the following file:

Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.