Class ConfigExecution
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.execution.config.ConfigExecution
-
- All Implemented Interfaces:
IQueryExecution
public class ConfigExecution extends java.lang.Object implements IQueryExecution
-
-
Constructor Summary
Constructors Constructor Description ConfigExecution(MPPQueryContext context, java.util.concurrent.ExecutorService executor, IConfigTask task)ConfigExecution(MPPQueryContext context, Statement statement, java.util.concurrent.ExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfail(java.lang.Throwable cause)java.util.Optional<org.apache.iotdb.tsfile.read.common.block.TsBlock>getBatchResult()DatasetHeadergetDatasetHeader()intgetOutputValueColumnCount()java.lang.StringgetQueryId()ExecutionResultgetStatus()booleanhasNextResult()booleanisQuery()voidstart()voidstop()voidstopAndCleanup()
-
-
-
Constructor Detail
-
ConfigExecution
public ConfigExecution(MPPQueryContext context, Statement statement, java.util.concurrent.ExecutorService executor)
-
ConfigExecution
public ConfigExecution(MPPQueryContext context, java.util.concurrent.ExecutorService executor, IConfigTask task)
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceIQueryExecution
-
fail
public void fail(java.lang.Throwable cause)
-
stop
public void stop()
- Specified by:
stopin interfaceIQueryExecution
-
stopAndCleanup
public void stopAndCleanup()
- Specified by:
stopAndCleanupin interfaceIQueryExecution
-
getStatus
public ExecutionResult getStatus()
- Specified by:
getStatusin interfaceIQueryExecution
-
getBatchResult
public java.util.Optional<org.apache.iotdb.tsfile.read.common.block.TsBlock> getBatchResult()
- Specified by:
getBatchResultin interfaceIQueryExecution
-
hasNextResult
public boolean hasNextResult()
- Specified by:
hasNextResultin interfaceIQueryExecution
-
getOutputValueColumnCount
public int getOutputValueColumnCount()
- Specified by:
getOutputValueColumnCountin interfaceIQueryExecution
-
getDatasetHeader
public DatasetHeader getDatasetHeader()
- Specified by:
getDatasetHeaderin interfaceIQueryExecution
-
isQuery
public boolean isQuery()
- Specified by:
isQueryin interfaceIQueryExecution
-
getQueryId
public java.lang.String getQueryId()
- Specified by:
getQueryIdin interfaceIQueryExecution
-
-