public class GetSchemasOperation extends MetadataOperation
DEFAULT_HIVE_CATALOGDEFAULT_FETCH_MAX_ROWS, hasResultSet, LOG, parentSession| Modifier | Constructor and Description |
|---|---|
protected |
GetSchemasOperation(HiveSession parentSession,
java.lang.String catalogName,
java.lang.String schemaName) |
| 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 GetSchemasOperation(HiveSession parentSession, java.lang.String catalogName, java.lang.String schemaName)
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