public abstract class ExecuteStatementOperation extends Operation
Modifier and Type | Field and Description |
---|---|
protected String |
statement |
backgroundHandle, DEFAULT_FETCH_ORIENTATION, DEFAULT_FETCH_ORIENTATION_SET, hasResultSet, isOperationLogEnabled, LOG, operationComplete, operationException, operationLog, operationStart, parentSession, queryState, scopeStates, 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, getOperationComplete, getOperationLog, getOperationStart, getOperationTimeout, getParentSession, getProtocolVersion, getResultSetSchema, getState, getStatus, getTaskStatus, getType, hasResultSet, isDone, isTimedOut, markOperationCompletedTime, markOperationStartTime, onNewState, run, runInternal, setBackgroundHandle, setHasResultSet, setOperationException, setOperationTimeout, setState, shouldRunAsync, toSQLException, updateOperationStateMetrics, 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 © 2022 The Apache Software Foundation. All rights reserved.