Class UDAFPlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.crud.QueryPlan
-
- org.apache.iotdb.db.qp.physical.crud.RawDataQueryPlan
-
- org.apache.iotdb.db.qp.physical.crud.UDTFPlan
-
- org.apache.iotdb.db.qp.physical.crud.UDAFPlan
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
PhysicalPlan.Factory, PhysicalPlan.PhysicalPlanType
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.qp.physical.crud.UDTFPlan
datasetOutputIndexToResultColumnIndex, pathNameToReaderIndex, udtfContext
-
Fields inherited from class org.apache.iotdb.db.qp.physical.crud.QueryPlan
paths, resultColumns, WITHOUT_NULL_FILTER_ERROR_MESSAGE, withoutNullColumnsIndex
-
Fields inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, index
-
-
Constructor Summary
Constructors Constructor Description UDAFPlan(java.time.ZoneId zoneId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeduplicate(PhysicalGenerator physicalGenerator)AggregationPlangetInnerAggregationPlan()org.apache.iotdb.service.rpc.thrift.TSExecuteStatementRespgetTSExecuteStatementResp(boolean isJdbcQuery)Construct the header of result set.voidsetExpressionToInnerResultIndexMap(java.util.Map<Expression,java.lang.Integer> expressionToInnerResultIndexMap)voidsetInnerAggregationPlan(AggregationPlan innerAggregationPlan)-
Methods inherited from class org.apache.iotdb.db.qp.physical.crud.UDTFPlan
constructUdfExecutors, finalizeUDFExecutors, getAuthPaths, getReaderIndexByExpressionName, getResultColumnByDatasetOutputIndex, getUdtfContext, getWideQueryHeaders, setDatasetOutputIndexToResultColumnIndex
-
Methods inherited from class org.apache.iotdb.db.qp.physical.crud.RawDataQueryPlan
addDeduplicatedPaths, addFilterPathInDeviceToMeasurements, convertSpecialClauseValues, getAllMeasurementsInDevice, getDeduplicatedDataTypes, getDeduplicatedPaths, getDeviceToMeasurements, getExpression, groupVectorPaths, setDeduplicatedPaths, setDeduplicatedPathsAndUpdate, setDeduplicatedVectorPaths, setExpression, transformToVector, updateDeviceMeasurementsUsingExpression
-
Methods inherited from class org.apache.iotdb.db.qp.physical.crud.QueryPlan
getColumnForDisplay, getColumnForReaderFromPath, getDataTypes, getPaths, getPathToIndex, getResultColumns, getRowLimit, getRowOffset, getWithoutNullColumnsIndex, hasLimit, isAlignByTime, isAscending, isEnableRedirect, isEnableTracing, isGroupByLevel, isWithoutAllNull, isWithoutAnyNull, setAlignByTime, setAscending, setColumnNameToDatasetOutputIndex, setEnableRedirect, setEnableTracing, setPaths, setResultColumns, setRowLimit, setRowOffset, setWithoutAllNull, setWithoutAnyNull
-
Methods inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, checkIntegrity, deserialize, deserialize, getAggregations, getIndex, getLoginUserName, getOperatorName, getOperatorType, isAuthenticationRequired, isDebug, isPrefixMatch, isQuery, isSelectInto, putString, putString, putStrings, putStrings, readString, readStrings, serialize, serialize, serializeImpl, serializeToByteBuffer, setDebug, setIndex, setLoginUserName, setOperatorType, setPrefixMatch, setQuery
-
-
-
-
Method Detail
-
getTSExecuteStatementResp
public org.apache.iotdb.service.rpc.thrift.TSExecuteStatementResp getTSExecuteStatementResp(boolean isJdbcQuery) throws org.apache.thrift.TException, org.apache.iotdb.commons.exception.MetadataExceptionDescription copied from class:QueryPlanConstruct the header of result set. Return TSExecuteStatementResp.- Overrides:
getTSExecuteStatementRespin classQueryPlan- Throws:
org.apache.thrift.TExceptionorg.apache.iotdb.commons.exception.MetadataException
-
setExpressionToInnerResultIndexMap
public void setExpressionToInnerResultIndexMap(java.util.Map<Expression,java.lang.Integer> expressionToInnerResultIndexMap)
-
setInnerAggregationPlan
public void setInnerAggregationPlan(AggregationPlan innerAggregationPlan)
-
getInnerAggregationPlan
public AggregationPlan getInnerAggregationPlan()
-
deduplicate
public void deduplicate(PhysicalGenerator physicalGenerator) throws org.apache.iotdb.commons.exception.MetadataException
- Overrides:
deduplicatein classUDTFPlan- Throws:
org.apache.iotdb.commons.exception.MetadataException
-
-