public abstract class ObjectStore.GetDbHelper extends ObjectStore.GetHelper<Database>
catName, dbName, partitionFields, 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, run
public GetDbHelper(String catalogName, String dbName, boolean allowSql, boolean allowJdo) throws 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.MetaException
protected String describeResult()
describeResult
in class ObjectStore.GetHelper<Database>
Copyright © 2022 The Apache Software Foundation. All rights reserved.