Class MaxTimeDescAccumulator

    • Constructor Detail

      • MaxTimeDescAccumulator

        public MaxTimeDescAccumulator()
    • Method Detail

      • addInput

        public int addInput​(org.apache.iotdb.tsfile.read.common.block.column.Column[] column,
                            org.apache.iotdb.tsfile.read.common.TimeRange timeRange)
        Description copied from interface: Accumulator
        Column should be like: | Time | Value |

        Return the last read row index of current timeColumn

        Specified by:
        addInput in interface Accumulator
        Overrides:
        addInput in class MaxTimeAccumulator
      • hasFinalResult

        public boolean hasFinalResult()
        Description copied from interface: Accumulator
        This method can only be used in seriesAggregateScanOperator. For first_value or last_value in decreasing order, we can get final result by the first record.
        Specified by:
        hasFinalResult in interface Accumulator
        Overrides:
        hasFinalResult in class MaxTimeAccumulator