public class WeekAggregationIterator extends AbstractAggregationIterator
QUALITY_COUNTER_POS_INTERPOLATED, QUALITY_COUNTER_POS_VALUES, QUALITY_COUNTERS
input_iterator
schema
Constructor and Description |
---|
WeekAggregationIterator(TsDB tsdb,
TsIterator input_iterator) |
Modifier and Type | Method and Description |
---|---|
protected long |
calcAggregationTimestamp(long timestamp) |
protected AggregationType[] |
getAggregationTypes(Sensor[] sensors) |
protected boolean |
isValidAggregate(int collectorCount,
AggregationType aggregationType)
checks if enough values have been collected for one aggregation unit
|
createSchemaConstantStep, createSchemaFromConstantToVariableStep, createSchemaVariableStep, getNext
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 WeekAggregationIterator(TsDB tsdb, TsIterator input_iterator)
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