public abstract class ExecuteStatementOperation extends Operation
Modifier and Type | Field and Description |
---|---|
protected String |
statement |
backgroundHandle, confOverlay, DEFAULT_FETCH_MAX_ROWS, DEFAULT_FETCH_ORIENTATION, DEFAULT_FETCH_ORIENTATION_SET, hasResultSet, isOperationLogEnabled, LOG, operationComplete, operationException, operationLog, operationStart, parentSession, QUERYID_LOG_KEY, queryState, scopeStates, SESSIONID_LOG_KEY, terminalStates
Constructor and Description |
---|
ExecuteStatementOperation(HiveSession parentSession,
String statement,
Map<String,String> confOverlay,
boolean runInBackground) |
Modifier and Type | Method and Description |
---|---|
String |
getStatement() |
static ExecuteStatementOperation |
newExecuteStatementOperation(HiveSession parentSession,
String statement,
Map<String,String> confOverlay,
boolean runAsync,
long queryTimeout) |
afterRun, assertState, beforeRun, cancel, cleanupOperationLog, close, createOperationLog, getBackgroundHandle, getBeginTime, getHandle, getLastAccessTime, getNextRowSet, getNextRowSet, getOperationComplete, getOperationLog, getOperationStart, getOperationTimeout, getParentSession, getProtocolVersion, getResultSetSchema, getState, getStatus, getTaskStatus, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, isTimedOut, markOperationCompletedTime, markOperationStartTime, onNewState, registerLoggingContext, run, runInternal, setBackgroundHandle, setHasResultSet, setMetrics, setOperationException, setOperationTimeout, setState, shouldRunAsync, toSQLException, unregisterLoggingContext, unregisterOperationLog, validateDefaultFetchOrientation, validateFetchOrientation
protected String statement
public ExecuteStatementOperation(HiveSession parentSession, String statement, Map<String,String> confOverlay, boolean runInBackground)
public String getStatement()
public static ExecuteStatementOperation newExecuteStatementOperation(HiveSession parentSession, String statement, Map<String,String> confOverlay, boolean runAsync, long queryTimeout) throws HiveSQLException
HiveSQLException
Copyright © 2016 The Apache Software Foundation. All rights reserved.