#include <CdbBdbSIncrementCollection.hh>
Public Member Functions | |
| CdbBdbSIncrementCollection () | |
| Default constructor. | |
| CdbBdbSIncrementCollection (const CdbBdbSIncrementCollection &theCollection) | |
| Copy constructor. | |
| ~CdbBdbSIncrementCollection () | |
| The destructor. | |
| CdbBdbSIncrementCollection & | operator= (const CdbBdbSIncrementCollection &theCollection) |
| The assignment operator. | |
| d_UShort | numIncrements () const |
| Get the total number of "increments". | |
| CdbStatus | increment (d_UShort theNumber, CdbBdbSIncrement &theIncrement) const |
| Get the specified "increment". | |
| CdbStatus | createIncrement (const BdbTime &theSplitTime) |
| Create new "increment". | |
Objects of this embedded class represent collections of "increments" to describe the data placement for a condition or a cluster of thoses ones.
Definition at line 16 of file CdbBdbSIncrementCollection.hh.
|
|
Default constructor. Will construct a collection with a single "increment" covering the whole range of the insertion time. Definition at line 17 of file CdbBdbSIncrementCollectionP.cc. |
|
|
Copy constructor.
Definition at line 24 of file CdbBdbSIncrementCollectionP.cc. |
|
|
The destructor. NOTE: The destructor is NOT virtual because this is an embedded class. Definition at line 29 of file CdbBdbSIncrementCollectionP.cc. |
|
|
Create new "increment". The method if successfull will increase the number of increments by one.
Definition at line 57 of file CdbBdbSIncrementCollectionP.cc. References CdbStatus::Error, BdbTime::minusInfinity, numIncrements(), BdbTime::plusInfinity, and CdbStatus::Success. Referenced by CdbBdbSSimpleClusterP::createIncrement(), and CdbBdbSPartitionP::createIncrement(). |
|
||||||||||||
|
Get the specified "increment". The method will return CdbStatus::NotFound if the index is not in a valid range.
Definition at line 48 of file CdbBdbSIncrementCollectionP.cc. References CdbStatus::NotFound, numIncrements(), and CdbStatus::Success. Referenced by CdbBdbSSimpleClusterP::increment(), and CdbBdbSPartitionP::increment(). |
|
|
Get the total number of "increments".
Definition at line 42 of file CdbBdbSIncrementCollectionP.cc. Referenced by CdbBdbSPartitionP::close(), CdbBdbSSimpleClusterP::createIncrement(), CdbBdbSPartitionP::createIncrement(), createIncrement(), increment(), CdbBdbSSimpleClusterP::numIncrements(), and CdbBdbSPartitionP::numIncrements(). |
|
|
The assignment operator.
Definition at line 33 of file CdbBdbSIncrementCollectionP.cc. |
1.3-rc3