Class LastQueryPlan
- 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.LastQueryPlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class LastQueryPlan extends RawDataQueryPlan
-
-
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.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 LastQueryPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeduplicate(PhysicalGenerator physicalGenerator)org.apache.iotdb.service.rpc.thrift.TSExecuteStatementRespgetTSExecuteStatementResp(boolean isJdbcQuery)Construct the header of result set.java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType>getWideQueryHeaders(java.util.List<java.lang.String> respColumns, java.util.List<java.lang.String> respSgColumns, boolean isJdbcQuery, java.util.BitSet aliasList)voidsetExpression(org.apache.iotdb.tsfile.read.expression.IExpression expression)-
Methods inherited from class org.apache.iotdb.db.qp.physical.crud.RawDataQueryPlan
addDeduplicatedPaths, addFilterPathInDeviceToMeasurements, convertSpecialClauseValues, getAllMeasurementsInDevice, getDeduplicatedDataTypes, getDeduplicatedPaths, getDeviceToMeasurements, getExpression, groupVectorPaths, setDeduplicatedPaths, setDeduplicatedPathsAndUpdate, setDeduplicatedVectorPaths, 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, getAuthPaths, 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
-
deduplicate
public void deduplicate(PhysicalGenerator physicalGenerator) throws org.apache.iotdb.commons.exception.MetadataException
- Overrides:
deduplicatein classRawDataQueryPlan- Throws:
org.apache.iotdb.commons.exception.MetadataException
-
getTSExecuteStatementResp
public org.apache.iotdb.service.rpc.thrift.TSExecuteStatementResp getTSExecuteStatementResp(boolean isJdbcQuery)
Description copied from class:QueryPlanConstruct the header of result set. Return TSExecuteStatementResp.- Overrides:
getTSExecuteStatementRespin classQueryPlan
-
getWideQueryHeaders
public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getWideQueryHeaders(java.util.List<java.lang.String> respColumns, java.util.List<java.lang.String> respSgColumns, boolean isJdbcQuery, java.util.BitSet aliasList) throws org.apache.thrift.TException- Overrides:
getWideQueryHeadersin classQueryPlan- Throws:
org.apache.thrift.TException
-
setExpression
public void setExpression(org.apache.iotdb.tsfile.read.expression.IExpression expression) throws QueryProcessException- Overrides:
setExpressionin classRawDataQueryPlan- Throws:
QueryProcessException
-
-