public class GetColumnsOperation extends MetadataOperation
DEFAULT_HIVE_CATALOG
backgroundHandle, DEFAULT_FETCH_ORIENTATION, DEFAULT_FETCH_ORIENTATION_SET, embedded, hasResultSet, isOperationLogEnabled, log, operationComplete, operationException, operationLog, operationStart, parentSession, queryState, scopeStates, terminalStates
Modifier | Constructor and Description |
---|---|
protected |
GetColumnsOperation(HiveSession parentSession,
String catalogName,
String schemaName,
String tableName,
String columnName) |
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, getDebugMessage, isAuthV2Enabled
afterRun, assertState, beforeRun, cleanupOperationLog, createOperationLog, getBackgroundHandle, getBeginTime, getHandle, getLastAccessTime, getNumModifiedRows, getOperationComplete, getOperationLog, getOperationStart, getOperationTimeout, getParentSession, getProtocolVersion, getQueryId, getQueryTag, getState, getStatus, getTaskStatus, getType, hasResultSet, isDone, isTimedOut, markOperationCompletedTime, markOperationStartTime, onNewState, run, setBackgroundHandle, setHasResultSet, setOperationException, setOperationTimeout, setState, shouldRunAsync, toSQLException, updateOperationStateMetrics, validateDefaultFetchOrientation, validateFetchOrientation, waitToTerminate
protected GetColumnsOperation(HiveSession parentSession, String catalogName, String schemaName, String tableName, String columnName)
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 © 2022 The Apache Software Foundation. All rights reserved.