public abstract class ExecuteStatementOperation extends Operation
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
confOverlay |
protected String |
statement |
backgroundHandle, DEFAULT_FETCH_MAX_ROWS, DEFAULT_FETCH_ORIENTATION, DEFAULT_FETCH_ORIENTATION_SET, hasResultSet, isOperationLogEnabled, LOG, operationException, operationLog, parentSession, runAsync
Constructor and Description |
---|
ExecuteStatementOperation(HiveSession parentSession,
String statement,
Map<String,String> confOverlay,
boolean runInBackground) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
getConfOverlay() |
String |
getStatement() |
static ExecuteStatementOperation |
newExecuteStatementOperation(HiveSession parentSession,
String statement,
Map<String,String> confOverlay,
boolean runAsync) |
protected void |
setConfOverlay(Map<String,String> confOverlay) |
afterRun, assertState, beforeRun, cancel, cleanupOperationLog, close, createOperationLog, getBackgroundHandle, getConfiguration, getHandle, getLastAccessTime, getNextRowSet, getNextRowSet, getOperationLog, getOperationTimeout, getParentSession, getProtocolVersion, getResultSetSchema, getStatus, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, isTimedOut, run, runInternal, setBackgroundHandle, setConfiguration, setHasResultSet, setOperationException, setOperationTimeout, setState, shouldRunAsync, toSQLException, 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) throws HiveSQLException
HiveSQLException
Copyright © 2017 The Apache Software Foundation. All rights reserved.