org.apache.hive.service.cli.operation
Class GetTablesOperation

java.lang.Object
  extended by org.apache.hive.service.cli.operation.Operation
      extended by org.apache.hive.service.cli.operation.MetadataOperation
          extended by org.apache.hive.service.cli.operation.GetTablesOperation

public class GetTablesOperation
extends MetadataOperation

GetTablesOperation.


Field Summary
 
Fields inherited from class org.apache.hive.service.cli.operation.MetadataOperation
DEFAULT_HIVE_CATALOG
 
Fields inherited from class org.apache.hive.service.cli.operation.Operation
DEFAULT_FETCH_MAX_ROWS, hasResultSet, LOG, parentSession
 
Constructor Summary
protected GetTablesOperation(Session parentSession, String catalogName, String schemaName, String tableName, List<String> tableTypes)
           
 
Method Summary
 RowSet getNextRowSet(FetchOrientation orientation, long maxRows)
           
 TableSchema getResultSetSchema()
           
 void run()
           
 
Methods inherited from class org.apache.hive.service.cli.operation.MetadataOperation
close, convertIdentifierPattern, convertSchemaPattern
 
Methods inherited from class org.apache.hive.service.cli.operation.Operation
assertState, cancel, getConfiguration, getHandle, getNextRowSet, getParentSession, getState, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, setConfiguration, setHasResultSet, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTablesOperation

protected GetTablesOperation(Session parentSession,
                             String catalogName,
                             String schemaName,
                             String tableName,
                             List<String> tableTypes)
Method Detail

run

public void run()
         throws HiveSQLException
Specified by:
run in class Operation
Throws:
HiveSQLException

getResultSetSchema

public TableSchema getResultSetSchema()
                               throws HiveSQLException
Specified by:
getResultSetSchema in class Operation
Throws:
HiveSQLException

getNextRowSet

public RowSet getNextRowSet(FetchOrientation orientation,
                            long maxRows)
                     throws HiveSQLException
Specified by:
getNextRowSet in class Operation
Throws:
HiveSQLException


Copyright © 2013 The Apache Software Foundation