public abstract class MetadataOperation extends Operation
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_HIVE_CATALOG |
protected static TableSchema |
RESULT_SET_SCHEMA |
DEFAULT_FETCH_MAX_ROWS, hasResultSet, LOG, parentSession
Modifier | Constructor and Description |
---|---|
protected |
MetadataOperation(HiveSession parentSession,
OperationType opType) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected java.lang.String |
convertIdentifierPattern(java.lang.String pattern,
boolean datanucleusFormat)
Convert wildchars and escape sequence from JDBC format to datanucleous/regex
|
protected java.lang.String |
convertSchemaPattern(java.lang.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
|
assertState, cancel, getConfiguration, getHandle, getNextRowSet, getNextRowSet, getParentSession, getResultSetSchema, getState, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, run, setConfiguration, setHasResultSet, setState
protected static final java.lang.String DEFAULT_HIVE_CATALOG
protected static TableSchema RESULT_SET_SCHEMA
protected MetadataOperation(HiveSession parentSession, OperationType opType)
public void close() throws HiveSQLException
close
in class Operation
HiveSQLException
protected java.lang.String convertIdentifierPattern(java.lang.String pattern, boolean datanucleusFormat)
protected java.lang.String convertSchemaPattern(java.lang.String pattern)
Copyright © 2012 The Apache Software Foundation