@InterfaceAudience.Private @InterfaceStability.Unstable public interface IDriver extends CommandProcessor
Modifier and Type | Method and Description |
---|---|
void |
close() |
CommandProcessorResponse |
compileAndRespond(String statement) |
void |
destroy() |
HiveConf |
getConf() |
Context |
getContext() |
FetchTask |
getFetchTask() |
QueryPlan |
getPlan() |
QueryDisplay |
getQueryDisplay() |
QueryState |
getQueryState() |
boolean |
getResults(List res) |
Schema |
getSchema() |
boolean |
hasResultSet() |
boolean |
isFetchingTable() |
void |
resetFetch() |
CommandProcessorResponse |
run() |
CommandProcessorResponse |
run(String command) |
void |
setMaxRows(int maxRows) |
void |
setOperationId(String operationId) |
CommandProcessorResponse compileAndRespond(String statement) throws CommandProcessorException
CommandProcessorException
QueryPlan getPlan()
QueryState getQueryState()
QueryDisplay getQueryDisplay()
void setOperationId(String operationId)
CommandProcessorResponse run() throws CommandProcessorException
CommandProcessorException
CommandProcessorResponse run(String command) throws CommandProcessorException
run
in interface CommandProcessor
CommandProcessorException
boolean getResults(List res) throws IOException
IOException
void setMaxRows(int maxRows)
FetchTask getFetchTask()
Schema getSchema()
boolean isFetchingTable()
void resetFetch() throws IOException
IOException
void close()
close
in interface AutoCloseable
void destroy()
HiveConf getConf()
Context getContext()
boolean hasResultSet()
Copyright © 2022 The Apache Software Foundation. All rights reserved.