Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

Count Class Reference

#include <coherence/util/aggregator/Count.hpp>

Inherits Object, PortableObject, and InvocableMap::ParallelAwareAggregator.

List of all members.


Detailed Description

Calculates a number of values in an entry set.

Author:
djl 2008.05.12
 

Public Types

typedef spec::Handle  Handle
  Count Handle definition.
typedef spec::View  View
  Count View definition.
typedef spec::Holder  Holder
  Count Holder definition.

Public Member Functions

virtual Object::Holder  aggregate (Set::View vSetEntries)
  Process a set of InvocableMap::Entry objects in order to produce an aggregated result.
Parameters:
  vSetEntries  a Set of read-only InvocableMap::Entry objects to aggregate
Returns:
the aggregated result from processing the entries
virtual
InvocableMap::EntryAggregator::Handle 
getParallelAggregator ()
  Get an aggregator that can take the place of this aggregator in situations in which the InvocableMap can aggregate in parallel.
Returns:
the aggregator that will be run in parallel
virtual Object::Holder  aggregateResults (Collection::View vCollResults)
  Aggregate the results of the parallel aggregations.
Parameters:
  vCollResults  the parallel aggregation results
Returns:
the aggregation of the parallel aggregation results
virtual void  readExternal (PofReader::Handle hIn)
   
virtual void  writeExternal (PofWriter::Handle hOut) const
   

Protected Member Functions

  Count ()
  Default constructor (necessary for the PortableObject interface).

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

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