org.apache.hive.service.cli.operation
Class MetadataOperation
java.lang.Object
org.apache.hive.service.cli.operation.Operation
org.apache.hive.service.cli.operation.MetadataOperation
- Direct Known Subclasses:
- GetCatalogsOperation, GetColumnsOperation, GetFunctionsOperation, GetSchemasOperation, GetTablesOperation, GetTableTypesOperation, GetTypeInfoOperation
public abstract class MetadataOperation
- extends Operation
MetadataOperation.
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 |
DEFAULT_HIVE_CATALOG
protected static final String DEFAULT_HIVE_CATALOG
- See Also:
- Constant Field Values
RESULT_SET_SCHEMA
protected static TableSchema RESULT_SET_SCHEMA
MetadataOperation
protected MetadataOperation(Session parentSession,
OperationType opType)
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