public class SQLOperation extends ExecuteStatementOperation
confOverlay, statementDEFAULT_FETCH_MAX_ROWS, hasResultSet, LOG, parentSession| Constructor and Description |
|---|
SQLOperation(HiveSession parentSession,
java.lang.String statement,
java.util.Map<java.lang.String,java.lang.String> confOverlay,
boolean runInBackground) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
RowSet |
getNextRowSet(FetchOrientation orientation,
long maxRows) |
TableSchema |
getResultSetSchema() |
void |
prepare() |
void |
run() |
getStatement, newExecuteStatementOperationassertState, getConfiguration, getHandle, getNextRowSet, getParentSession, getState, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, setConfiguration, setHasResultSet, setStatepublic SQLOperation(HiveSession parentSession, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay, boolean runInBackground)
public void prepare()
throws HiveSQLException
HiveSQLExceptionpublic void run()
throws HiveSQLException
run in class OperationHiveSQLExceptionpublic void cancel()
throws HiveSQLException
cancel in class OperationHiveSQLExceptionpublic void close()
throws HiveSQLException
close in class OperationHiveSQLExceptionpublic TableSchema getResultSetSchema() throws HiveSQLException
getResultSetSchema in class OperationHiveSQLExceptionpublic RowSet getNextRowSet(FetchOrientation orientation, long maxRows) throws HiveSQLException
getNextRowSet in class OperationHiveSQLExceptionCopyright © 2012 The Apache Software Foundation