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

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.GetSchemasOperation

public class GetSchemasOperation
extends MetadataOperation

GetSchemasOperation.


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 GetSchemasOperation(Session parentSession, String catalogName, String schemaName)
           
 
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

GetSchemasOperation

protected GetSchemasOperation(Session parentSession,
                              String catalogName,
                              String schemaName)
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