public abstract class AbstractCollectingAggregator extends java.lang.Object implements CollectingAggregator
| Modifier and Type | Field and Description |
|---|---|
int[] |
outputCounters |
java.util.ArrayList<java.lang.Float>[] |
outputs |
long |
outputTimestamp |
| Constructor and Description |
|---|
AbstractCollectingAggregator(CollectingAggregator collectingAggregator,
int estimatedAggregationCapacity) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract long |
calcAggregationTimestamp(long timestamp) |
long |
calcNextOutput() |
int |
getAttributeCount() |
java.util.ArrayList<java.lang.Float>[] |
getOutputs() |
ProcessingChain |
getProcessingChain()
Default implementation: Get processing chain with this as source entry.
|
protected abstract boolean |
isValidAggregate(int collectorCount,
AggregationType aggregationType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProcessingTitlecreateUnknown, ofcreateUnknownpublic final java.util.ArrayList<java.lang.Float>[] outputs
public final int[] outputCounters
public long outputTimestamp
public AbstractCollectingAggregator(CollectingAggregator collectingAggregator, int estimatedAggregationCapacity)
public long calcNextOutput()
calcNextOutput in interface CollectingAggregatorprotected abstract long calcAggregationTimestamp(long timestamp)
protected abstract boolean isValidAggregate(int collectorCount,
AggregationType aggregationType)
public java.util.ArrayList<java.lang.Float>[] getOutputs()
getOutputs in interface CollectingAggregatorpublic int getAttributeCount()
getAttributeCount in interface CollectingAggregatorpublic ProcessingChain getProcessingChain()
ProcessingChainNodegetProcessingChain in interface ProcessingChainNodegetProcessingChain in interface ProcessingChainSupplier