◆ ArrayJoinExistingAggregation() [1/2]
agg_util::ArrayJoinExistingAggregation::ArrayJoinExistingAggregation |
( |
const libdap::Array & | granuleTemplate, |
|
|
AMDList | memberDatasets, |
|
|
std::unique_ptr< ArrayGetterInterface > | arrayGetter, |
|
|
const Dimension & | joinDim ) |
Construct a joinNew Array aggregation given the parameters.
- Parameters
-
granuleTemplate | the Array to use as a prototype for the UNaggregated Array It is the object for the aggVar as loaded from memberDatasets[0]. |
memberDatasets | list of the member datasets forming the aggregation. this list will be copied internally so memberDatasets may be destroyed after this call (though the element AggMemberDataset objects will be ref()'d in our copy). |
arrayGetter | smart ptr to the algorithm for getting out the constrained array from each individual AMDList DataDDS. Ownership transferred to this (clearly). |
joinDim | the outer dimension we are using (with post-aggregation cardinality) for the joinExisting |
Definition at line 50 of file ArrayJoinExistingAggregation.cc.
◆ ArrayJoinExistingAggregation() [2/2]
◆ ~ArrayJoinExistingAggregation()
agg_util::ArrayJoinExistingAggregation::~ArrayJoinExistingAggregation |
( |
| ) |
|
|
virtual |
◆ getArrayGetterInterface()
Accessor for subclasses Note this is protected, so not const! Subclasses may mutate the return hence this, but should not delete it, hence the reference.
Definition at line 168 of file ArrayAggregationBase.cc.
◆ getDatasetList()
const AMDList & agg_util::ArrayAggregationBase::getDatasetList |
( |
| ) |
const |
|
inherited |
◆ getGranuleTemplateArray()
libdap::Array & agg_util::ArrayAggregationBase::getGranuleTemplateArray |
( |
| ) |
|
|
protectedinherited |
Accessor for subclasses Note this is protected, so not const! Subclasses may mutate the return hence this, but should not delete it, hence the reference.
Definition at line 161 of file ArrayAggregationBase.cc.
◆ operator=()
◆ printConstraints()
void agg_util::ArrayAggregationBase::printConstraints |
( |
const Array & | fromArray | ) |
|
|
protectedinherited |
◆ ptr_duplicate()
Virtual Constructor: Make a deep copy (clone) of the object and return it.
- Returns
- ptr to the cloned object.
Definition at line 99 of file ArrayJoinExistingAggregation.cc.
◆ read()
bool agg_util::ArrayAggregationBase::read |
( |
| ) |
|
|
overrideinherited |
Base implementation that works for both joinNew and joinExisting. Sets ups constraints and things and then calls the subclass helper readAndAggregateGranules() for the specialized subclass behaviors.
- Note
- This implementation of read() will read all of the data for an aggregated variable. Child classes of this class can use specialized versions of serialize() to implement a different behavior so that data that are read in parts (e.g. slices of an Array) can also be written in parts. This can reduce access latency.
- Exceptions
-
- Returns
- whether it works
Definition at line 101 of file ArrayAggregationBase.cc.
◆ readConstrainedGranuleArraysAndAggregateDataHook()
void agg_util::ArrayJoinExistingAggregation::readConstrainedGranuleArraysAndAggregateDataHook |
( |
| ) |
|
|
protectedvirtual |
◆ serialize()
bool agg_util::ArrayJoinExistingAggregation::serialize |
( |
libdap::ConstraintEvaluator & | eval, |
|
|
libdap::DDS & | dds, |
|
|
libdap::Marshaller & | m, |
|
|
bool | ce_eval ) |
|
virtual |
◆ transferOutputConstraintsIntoGranuleTemplateHook()
void agg_util::ArrayJoinExistingAggregation::transferOutputConstraintsIntoGranuleTemplateHook |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: