Minghui Liu created IOTDB-5320:
----------------------------------

             Summary: Add executeAggregationQuery interface in session API
                 Key: IOTDB-5320
                 URL: https://issues.apache.org/jira/browse/IOTDB-5320
             Project: Apache IoTDB
          Issue Type: Task
            Reporter: Minghui Liu
            Assignee: Minghui Liu
             Fix For: master branch


Add an efficient interface for aggregation query that can save time-consuming 
SQL parsing.
 * 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.

{code:java}
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);{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to