public class GetColumnsOperation extends MetadataOperation
DEFAULT_HIVE_CATALOGDEFAULT_FETCH_MAX_ROWS, hasResultSet, LOG, parentSession| Modifier | Constructor and Description |
|---|---|
protected |
GetColumnsOperation(HiveSession parentSession,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName) |
| Modifier and Type | Method and Description |
|---|---|
RowSet |
getNextRowSet(FetchOrientation orientation,
long maxRows) |
TableSchema |
getResultSetSchema() |
void |
run() |
close, convertIdentifierPattern, convertSchemaPatternassertState, cancel, getConfiguration, getHandle, getNextRowSet, getParentSession, getState, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, setConfiguration, setHasResultSet, setStateprotected GetColumnsOperation(HiveSession parentSession, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName, java.lang.String columnName)
public void run()
throws HiveSQLException
run in class OperationHiveSQLExceptionpublic TableSchema getResultSetSchema() throws HiveSQLException
getResultSetSchema in class OperationHiveSQLExceptionpublic RowSet getNextRowSet(FetchOrientation orientation, long maxRows) throws HiveSQLException
getNextRowSet in class OperationHiveSQLExceptionCopyright © 2012 The Apache Software Foundation