public class DayAggregationIterator extends AbstractAggregationIterator
QUALITY_COUNTER_POS_INTERPOLATED, QUALITY_COUNTER_POS_VALUES, QUALITY_COUNTERSinput_iteratorschema| 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, createSchemaVariableStepgetProcessingChainclose, hasNext, nextgetNames, getSchema, isLive, isNotLive, toSchemas, toString, toTimeSeries, toTimestampSeries, writeConsole, writeConsole, writeCSVclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProcessingTitlecreateUnknown, ofcreateUnknownpublic DayAggregationIterator(TsDB tsdb, TsIterator input_iterator, Mutator dayMutator)
protected long calcAggregationTimestamp(long timestamp)
calcAggregationTimestamp in class AbstractAggregationIteratorprotected boolean isValidAggregate(int collectorCount,
AggregationType aggregationType)
AbstractAggregationIteratorisValidAggregate in class AbstractAggregationIteratorprotected AggregationType[] getAggregationTypes(Sensor[] sensors)
getAggregationTypes in class AbstractAggregationIteratorprotected 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