public class Planner extends Object
| 构造器和说明 |
|---|
Planner() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected PhysicalPlan |
generatePhysicalPlanFromOperator(Operator operator) |
PhysicalPlan |
lastDataQueryReqToPhysicalPlan(org.apache.iotdb.service.rpc.thrift.TSLastDataQueryReq lastDataQueryReq,
ZoneId zoneId,
IoTDBConstant.ClientVersion clientVersion)
convert last data query to physical plan directly
|
protected Operator |
logicalOptimize(Operator operator)
given an unoptimized logical operator tree and return a optimized result.
|
PhysicalPlan |
operatorToPhysicalPlan(Operator operator) |
PhysicalPlan |
parseSQLToGrafanaQueryPlan(String sqlStr,
ZoneId zoneId) |
PhysicalPlan |
parseSQLToPhysicalPlan(String sqlStr) |
PhysicalPlan |
parseSQLToPhysicalPlan(String sqlStr,
ZoneId zoneId,
IoTDBConstant.ClientVersion clientVersion) |
PhysicalPlan |
parseSQLToRestQueryPlan(String sqlStr,
ZoneId zoneId) |
PhysicalPlan |
rawDataQueryReqToPhysicalPlan(org.apache.iotdb.service.rpc.thrift.TSRawDataQueryReq rawDataQueryReq,
ZoneId zoneId,
IoTDBConstant.ClientVersion clientVersion)
convert raw data query to physical plan directly
|
public PhysicalPlan parseSQLToPhysicalPlan(String sqlStr) throws QueryProcessException
public PhysicalPlan parseSQLToPhysicalPlan(String sqlStr, ZoneId zoneId, IoTDBConstant.ClientVersion clientVersion) throws QueryProcessException
public PhysicalPlan rawDataQueryReqToPhysicalPlan(org.apache.iotdb.service.rpc.thrift.TSRawDataQueryReq rawDataQueryReq, ZoneId zoneId, IoTDBConstant.ClientVersion clientVersion) throws IllegalPathException, QueryProcessException
public PhysicalPlan lastDataQueryReqToPhysicalPlan(org.apache.iotdb.service.rpc.thrift.TSLastDataQueryReq lastDataQueryReq, ZoneId zoneId, IoTDBConstant.ClientVersion clientVersion) throws QueryProcessException, IllegalPathException
public PhysicalPlan parseSQLToRestQueryPlan(String sqlStr, ZoneId zoneId) throws QueryProcessException
public PhysicalPlan parseSQLToGrafanaQueryPlan(String sqlStr, ZoneId zoneId) throws QueryProcessException
public PhysicalPlan operatorToPhysicalPlan(Operator operator) throws QueryProcessException
protected PhysicalPlan generatePhysicalPlanFromOperator(Operator operator) throws QueryProcessException
protected Operator logicalOptimize(Operator operator) throws LogicalOperatorException, PathNumOverLimitException
operator - unoptimized logical operatorLogicalOptimizeException - exception in logical optimizingLogicalOperatorExceptionPathNumOverLimitExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.