public class MergingReductionCollectionManager extends ReductionCollectionManager
ReductionCollectionManager used for distributed requests.ReductionCollectionManager.ReductionDataCollectionreductionDataCollectors| Constructor and Description |
|---|
MergingReductionCollectionManager() |
MergingReductionCollectionManager(ReductionDataCollector<?>[] reductionDataCollectors,
Iterable<AnalyticsField> fields) |
| Modifier and Type | Method and Description |
|---|---|
protected ReductionCollectionManager |
createNewManager(ReductionDataCollector<?>[] reductionDataCollectors,
Iterable<AnalyticsField> fields)
Create an
ReductionCollectionManager to manage the given collectors and fields. |
void |
setData(ReductionCollectionManager.ReductionDataCollection dataCollection)
Finalize the reductions with the collected data stored in the parameter.
|
addCollectTarget, addLastingCollectTarget, apply, clearLastingCollectTargets, collect, doSetNextReader, exportData, getUsedFields, merge, mergeData, needsCollection, newDataCollection, newDataCollectionIO, newDataCollectionTarget, prepareReductionDataIO, setShardInput, setShardOutputpublic MergingReductionCollectionManager()
public MergingReductionCollectionManager(ReductionDataCollector<?>[] reductionDataCollectors, Iterable<AnalyticsField> fields)
protected ReductionCollectionManager createNewManager(ReductionDataCollector<?>[] reductionDataCollectors, Iterable<AnalyticsField> fields)
ReductionCollectionManagerReductionCollectionManager to manage the given collectors and fields.createNewManager in class ReductionCollectionManagerreductionDataCollectors - Reduction collectorsfields - fields used by the reductionspublic void setData(ReductionCollectionManager.ReductionDataCollection dataCollection)
ReductionCollectionManagerReductionFunctions that use these
ReductionDataCollectors act like regular AnalyticsValue classes that
can be accessed through their get<value-type> methods.setData in class ReductionCollectionManagerdataCollection - the collection of reduction data to compute results forCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.