public class HiveCommandOperation extends ExecuteStatementOperation
confOverlay, statement
backgroundHandle, DEFAULT_FETCH_MAX_ROWS, DEFAULT_FETCH_ORIENTATION, DEFAULT_FETCH_ORIENTATION_SET, hasResultSet, isOperationLogEnabled, LOG, operationException, operationLog, parentSession, runAsync
Modifier | Constructor and Description |
---|---|
protected |
HiveCommandOperation(HiveSession parentSession,
String statement,
CommandProcessor commandProcessor,
Map<String,String> confOverlay) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
RowSet |
getNextRowSet(FetchOrientation orientation,
long maxRows) |
TableSchema |
getResultSetSchema() |
void |
runInternal()
Implemented by subclass of Operation class to execute specific behaviors.
|
getConfOverlay, getStatement, newExecuteStatementOperation, setConfOverlay
afterRun, assertState, beforeRun, cancel, cleanupOperationLog, createOperationLog, getBackgroundHandle, getConfiguration, getHandle, getLastAccessTime, getNextRowSet, getOperationLog, getOperationTimeout, getParentSession, getProtocolVersion, getStatus, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, isTimedOut, run, setBackgroundHandle, setConfiguration, setHasResultSet, setOperationException, setOperationTimeout, setState, shouldRunAsync, toSQLException, unregisterOperationLog, validateDefaultFetchOrientation, validateFetchOrientation
protected HiveCommandOperation(HiveSession parentSession, String statement, CommandProcessor commandProcessor, Map<String,String> confOverlay)
public void runInternal() throws HiveSQLException
Operation
runInternal
in class Operation
HiveSQLException
public void close() throws HiveSQLException
close
in class Operation
HiveSQLException
public TableSchema getResultSetSchema() throws HiveSQLException
getResultSetSchema
in class Operation
HiveSQLException
public RowSet getNextRowSet(FetchOrientation orientation, long maxRows) throws HiveSQLException
getNextRowSet
in class Operation
HiveSQLException
Copyright © 2017 The Apache Software Foundation. All rights reserved.