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