public class GetFunctionsOperation extends MetadataOperation
DEFAULT_HIVE_CATALOG
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 |
---|
GetFunctionsOperation(HiveSession parentSession,
String catalogName,
String schemaName,
String functionName) |
Modifier and Type | Method and Description |
---|---|
RowSet |
getNextRowSet(FetchOrientation orientation,
long maxRows) |
TableSchema |
getResultSetSchema() |
void |
runInternal()
Implemented by subclass of Operation class to execute specific behaviors.
|
authorizeMetaGets, authorizeMetaGets, cancel, close, convertIdentifierPattern, convertSchemaPattern, isAuthV2Enabled
afterRun, assertState, beforeRun, cleanupOperationLog, createOperationLog, getBackgroundHandle, getBeginTime, getHandle, getLastAccessTime, getNextRowSet, getOperationComplete, getOperationLog, getOperationStart, getOperationTimeout, getParentSession, getProtocolVersion, getState, getStatus, getTaskStatus, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, isTimedOut, markOperationCompletedTime, markOperationStartTime, onNewState, registerLoggingContext, run, setBackgroundHandle, setHasResultSet, setMetrics, setOperationException, setOperationTimeout, setState, shouldRunAsync, toSQLException, unregisterLoggingContext, unregisterOperationLog, validateDefaultFetchOrientation, validateFetchOrientation
public GetFunctionsOperation(HiveSession parentSession, String catalogName, String schemaName, String functionName)
public void runInternal() throws HiveSQLException
Operation
runInternal
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 © 2016 The Apache Software Foundation. All rights reserved.