public class ReExecDriver extends Object implements IDriver
| Constructor and Description |
|---|
ReExecDriver(QueryState queryState,
QueryInfo queryInfo,
List<IReExecutionPlugin> plugins) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
compile(String command,
boolean resetTaskIds) |
CommandProcessorResponse |
compileAndRespond(String statement) |
void |
destroy() |
HiveConf |
getConf() |
Context |
getContext() |
FetchTask |
getFetchTask() |
QueryPlan |
getPlan() |
QueryDisplay |
getQueryDisplay() |
QueryState |
getQueryState() |
boolean |
getResults(List res) |
org.apache.hadoop.hive.metastore.api.Schema |
getSchema() |
boolean |
hasResultSet() |
boolean |
isFetchingTable() |
void |
resetFetch() |
CommandProcessorResponse |
run() |
CommandProcessorResponse |
run(String command) |
void |
setMaxRows(int maxRows) |
void |
setOperationId(String operationId) |
void |
setStatsSource(StatsSource statsSource) |
public ReExecDriver(QueryState queryState, QueryInfo queryInfo, List<IReExecutionPlugin> plugins)
public int compile(String command, boolean resetTaskIds)
public CommandProcessorResponse compileAndRespond(String statement) throws CommandProcessorException
compileAndRespond in interface IDriverCommandProcessorExceptionpublic QueryState getQueryState()
getQueryState in interface IDriverpublic QueryDisplay getQueryDisplay()
getQueryDisplay in interface IDriverpublic void setOperationId(String operationId)
setOperationId in interface IDriverpublic CommandProcessorResponse run() throws CommandProcessorException
run in interface IDriverCommandProcessorExceptionpublic CommandProcessorResponse run(String command) throws CommandProcessorException
run in interface IDriverrun in interface CommandProcessorCommandProcessorExceptionpublic boolean getResults(List res) throws IOException
getResults in interface IDriverIOExceptionpublic void setMaxRows(int maxRows)
setMaxRows in interface IDriverpublic FetchTask getFetchTask()
getFetchTask in interface IDriverpublic org.apache.hadoop.hive.metastore.api.Schema getSchema()
public boolean isFetchingTable()
isFetchingTable in interface IDriverpublic void resetFetch()
throws IOException
resetFetch in interface IDriverIOExceptionpublic void close()
close in interface AutoCloseableclose in interface IDriverpublic final Context getContext()
getContext in interface IDriverpublic void setStatsSource(StatsSource statsSource)
public boolean hasResultSet()
hasResultSet in interface IDriverCopyright © 2022 The Apache Software Foundation. All rights reserved.