public class DayAggregationIterator extends AbstractAggregationIterator
QUALITY_COUNTER_POS_INTERPOLATED, QUALITY_COUNTER_POS_VALUES, QUALITY_COUNTERS
input_iterator
schema
Constructor and Description |
---|
DayAggregationIterator(TsDB tsdb,
TsIterator input_iterator,
Mutator dayMutator) |
Modifier and Type | Method and Description |
---|---|
protected long |
calcAggregationTimestamp(long timestamp) |
protected AggregationType[] |
getAggregationTypes(Sensor[] sensors) |
protected TsEntry |
getNext()
Request next element.
|
protected boolean |
isValidAggregate(int collectorCount,
AggregationType aggregationType)
checks if enough values have been collected for one aggregation unit
|
createSchemaConstantStep, createSchemaFromConstantToVariableStep, createSchemaVariableStep
getProcessingChain
close, hasNext, next
getNames, getSchema, isLive, isNotLive, toSchemas, toString, toTimeSeries, toTimestampSeries, writeConsole, writeConsole, writeCSV
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProcessingTitle
createUnknown, of
createUnknown
public DayAggregationIterator(TsDB tsdb, TsIterator input_iterator, Mutator dayMutator)
protected long calcAggregationTimestamp(long timestamp)
calcAggregationTimestamp
in class AbstractAggregationIterator
protected boolean isValidAggregate(int collectorCount, AggregationType aggregationType)
AbstractAggregationIterator
isValidAggregate
in class AbstractAggregationIterator
protected AggregationType[] getAggregationTypes(Sensor[] sensors)
getAggregationTypes
in class AbstractAggregationIterator
protected TsEntry getNext()
MoveIterator
It's guaranteed to not be called again when it first returns null (no next element).
This method should be called by MoveIterator internal only.
getNext
in class AbstractAggregationIterator