Class SeriesAggregationScanNode

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.apache.iotdb.consensus.common.request.IConsensusRequest, IPartitionRelatedNode

    public class SeriesAggregationScanNode
    extends SeriesAggregationSourceNode
    This node is responsible to do the aggregation calculation for one series. It will read the target series and calculate the aggregation result by the aggregation digest or raw data of this series.

    The aggregation result will be represented as a TsBlock

    This node will split data of the target series into many groups by time range and do the aggregation calculation for each group. Each result will be one row of the result TsBlock. The timestamp of each row is the start time of the time range group.

    If there is no time range split parameter, the result TsBlock will only contain one row, which represent the whole aggregation result of this series. And the timestamp will be 0, which is meaningless.