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, wait
getProcessingTitle
createUnknown, of
createUnknown
public 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 CollectingAggregator
protected abstract long calcAggregationTimestamp(long timestamp)
protected abstract boolean isValidAggregate(int collectorCount, AggregationType aggregationType)
public java.util.ArrayList<java.lang.Float>[] getOutputs()
getOutputs
in interface CollectingAggregator
public int getAttributeCount()
getAttributeCount
in interface CollectingAggregator
public ProcessingChain getProcessingChain()
ProcessingChainNode
getProcessingChain
in interface ProcessingChainNode
getProcessingChain
in interface ProcessingChainSupplier