Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-5320

Add executeAggregationQuery interface in session API

    XMLWordPrintableJSON

Details

    • 2023-1-Query

    Description

      Add an efficient interface for aggregation query that can save SQL parsing cost.

      • Support specified query time range: The specified query time range is a left-closed right-open interval, including the start time but not the end time.
      • Support GROUP BY TIME.
      SessionDataSet executeAggregationQuery(List<String> paths, List<Aggregation> aggregations);
      
      SessionDataSet executeAggregationQuery(
          List<String> paths, List<Aggregation> aggregations, long startTime, long endTime);
      
      SessionDataSet executeAggregationQuery(
        List<String> paths,  
        List<Aggregation> aggregations,
        long startTime,
        long endTime,
        long interval);
      
      SessionDataSet executeAggregationQuery(
        List<String> paths,
        List<Aggregation> aggregations,
        long startTime,
        long endTime,
        long interval,
        long slidingStep);

      Attachments

        Issue Links

          Activity

            People

              liuminghui Minghui Liu
              liuminghui Minghui Liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: