Class QueryDataSetHandler
- java.lang.Object
-
- org.apache.iotdb.db.protocol.rest.handler.QueryDataSetHandler
-
public class QueryDataSetHandler extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.ws.rs.core.ResponsefillDataSetWithTimestamps(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, QueryPlan queryPlan, int actualRowSizeLimit, long timePrecision)static javax.ws.rs.core.ResponsefillGrafanaNodesResult(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet queryDataSet)static javax.ws.rs.core.ResponsefillGrafanaVariablesResult(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet dataSet, PhysicalPlan physicalPlan)static javax.ws.rs.core.ResponsefillGroupByLevelDataSet(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, int actualRowSizeLimit, long timePrecision)static javax.ws.rs.core.ResponsefillLastQueryPlanDataSet(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, int actualRowSizeLimit)static javax.ws.rs.core.ResponsefillQueryDataSet(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, PhysicalPlan physicalPlan, int actualRowSizeLimit)
-
-
-
Method Detail
-
fillQueryDataSet
public static javax.ws.rs.core.Response fillQueryDataSet(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, PhysicalPlan physicalPlan, int actualRowSizeLimit) throws java.io.IOException- Parameters:
actualRowSizeLimit- max number of rows to return. no limit when actualRowSizeLimit <= 0.- Throws:
java.io.IOException
-
fillDataSetWithTimestamps
public static javax.ws.rs.core.Response fillDataSetWithTimestamps(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, QueryPlan queryPlan, int actualRowSizeLimit, long timePrecision) throws java.io.IOException- Throws:
java.io.IOException
-
fillLastQueryPlanDataSet
public static javax.ws.rs.core.Response fillLastQueryPlanDataSet(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, int actualRowSizeLimit) throws java.io.IOException- Throws:
java.io.IOException
-
fillGroupByLevelDataSet
public static javax.ws.rs.core.Response fillGroupByLevelDataSet(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet sourceDataSet, int actualRowSizeLimit, long timePrecision) throws java.io.IOException- Throws:
java.io.IOException
-
fillGrafanaVariablesResult
public static javax.ws.rs.core.Response fillGrafanaVariablesResult(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet dataSet, PhysicalPlan physicalPlan) throws java.io.IOException- Throws:
java.io.IOException
-
fillGrafanaNodesResult
public static javax.ws.rs.core.Response fillGrafanaNodesResult(org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet queryDataSet) throws java.io.IOException- Throws:
java.io.IOException
-
-