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

java.lang.Object
  extended by org.apache.hive.service.cli.operation.Operation
      extended by org.apache.hive.service.cli.operation.MetadataOperation
Direct Known Subclasses:
GetCatalogsOperation, GetColumnsOperation, GetFunctionsOperation, GetSchemasOperation, GetTablesOperation, GetTableTypesOperation, GetTypeInfoOperation

public abstract class MetadataOperation
extends Operation

MetadataOperation.


Field Summary
protected static String DEFAULT_HIVE_CATALOG
           
protected static TableSchema RESULT_SET_SCHEMA
           
 
Fields inherited from class org.apache.hive.service.cli.operation.Operation
DEFAULT_FETCH_MAX_ROWS, hasResultSet, LOG, parentSession
 
Constructor Summary
protected MetadataOperation(Session parentSession, OperationType opType)
           
 
Method Summary
 void close()
           
protected  String convertIdentifierPattern(String pattern, boolean datanucleusFormat)
          Convert wildchars and escape sequence from JDBC format to datanucleous/regex
protected  String convertSchemaPattern(String pattern)
          Convert wildchars and escape sequence of schema pattern from JDBC format to datanucleous/regex The schema pattern treats empty string also as wildchar
 
Methods inherited from class org.apache.hive.service.cli.operation.Operation
assertState, cancel, getConfiguration, getHandle, getNextRowSet, getNextRowSet, getParentSession, getResultSetSchema, getState, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, run, setConfiguration, setHasResultSet, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_HIVE_CATALOG

protected static final String DEFAULT_HIVE_CATALOG
See Also:
Constant Field Values

RESULT_SET_SCHEMA

protected static TableSchema RESULT_SET_SCHEMA
Constructor Detail

MetadataOperation

protected MetadataOperation(Session parentSession,
                            OperationType opType)
Method Detail

close

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

convertIdentifierPattern

protected String convertIdentifierPattern(String pattern,
                                          boolean datanucleusFormat)
Convert wildchars and escape sequence from JDBC format to datanucleous/regex


convertSchemaPattern

protected String convertSchemaPattern(String pattern)
Convert wildchars and escape sequence of schema pattern from JDBC format to datanucleous/regex The schema pattern treats empty string also as wildchar



Copyright © 2013 The Apache Software Foundation