public abstract class ObjectStore.GetDbHelper extends ObjectStore.GetHelper<org.apache.hadoop.hive.metastore.api.Database>
catName, dbName, results, tblName| Constructor and Description |
|---|
GetDbHelper(String catalogName,
String dbName,
boolean allowSql,
boolean allowJdo)
GetHelper for returning db info using directSql/JDO.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
describeResult() |
canUseDirectSql, getJdoResult, getSqlResult, getTable, runpublic GetDbHelper(String catalogName, String dbName, boolean allowSql, boolean allowJdo) throws org.apache.hadoop.hive.metastore.api.MetaException
dbName - The Database NameallowSql - Whether or not we allow DirectSQL to perform this query.allowJdo - Whether or not we allow ORM to perform this query.org.apache.hadoop.hive.metastore.api.MetaExceptionprotected String describeResult()
describeResult in class ObjectStore.GetHelper<org.apache.hadoop.hive.metastore.api.Database>Copyright © 2019 The Apache Software Foundation. All Rights Reserved.