public class ReExecDriver extends Object implements IDriver
| Modifier and Type | Field and Description |
|---|---|
protected Driver |
coreDriver |
| Constructor and Description |
|---|
ReExecDriver(QueryState queryState,
String userName,
QueryInfo queryInfo,
ArrayList<IReExecutionPlugin> plugins) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
compile(String string) |
CommandProcessorResponse |
compileAndRespond(String statement) |
void |
destroy() |
boolean |
firstExecution() |
HiveConf |
getConf() |
Context |
getContext() |
FetchTask |
getFetchTask() |
QueryPlan |
getPlan() |
QueryDisplay |
getQueryDisplay() |
boolean |
getResults(List res) |
org.apache.hadoop.hive.metastore.api.Schema |
getSchema() |
boolean |
hasResultSet() |
boolean |
isFetchingTable() |
protected void |
prepareToReExecute() |
void |
resetFetch() |
CommandProcessorResponse |
run() |
CommandProcessorResponse |
run(String command) |
void |
setMaxRows(int maxRows) |
void |
setOperationId(String guid64) |
void |
setStatsSource(StatsSource statsSource) |
protected Driver coreDriver
public ReExecDriver(QueryState queryState, String userName, QueryInfo queryInfo, ArrayList<IReExecutionPlugin> plugins)
public boolean firstExecution()
public CommandProcessorResponse compileAndRespond(String statement)
compileAndRespond in interface IDriverpublic QueryDisplay getQueryDisplay()
getQueryDisplay in interface IDriverpublic void setOperationId(String guid64)
setOperationId in interface IDriverpublic CommandProcessorResponse run()
public CommandProcessorResponse run(String command)
run in interface IDriverrun in interface CommandProcessorprotected void prepareToReExecute()
public 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 © 2019 The Apache Software Foundation. All Rights Reserved.