public abstract class ObjectStore.GetHelper<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
catName |
protected String |
dbName |
protected T |
results |
protected String |
tblName |
Constructor and Description |
---|
GetHelper(String catalogName,
String dbName,
String tblName,
boolean allowSql,
boolean allowJdo) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canUseDirectSql(ObjectStore.GetHelper<T> ctx) |
protected abstract String |
describeResult() |
protected abstract T |
getJdoResult(ObjectStore.GetHelper<T> ctx) |
protected abstract T |
getSqlResult(ObjectStore.GetHelper<T> ctx) |
org.apache.hadoop.hive.metastore.api.Table |
getTable() |
T |
run(boolean initTable) |
protected final String catName
protected final String dbName
protected final String tblName
protected T results
protected boolean canUseDirectSql(ObjectStore.GetHelper<T> ctx) throws org.apache.hadoop.hive.metastore.api.MetaException
org.apache.hadoop.hive.metastore.api.MetaException
protected abstract String describeResult()
protected abstract T getSqlResult(ObjectStore.GetHelper<T> ctx) throws org.apache.hadoop.hive.metastore.api.MetaException
org.apache.hadoop.hive.metastore.api.MetaException
protected abstract T getJdoResult(ObjectStore.GetHelper<T> ctx) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException
org.apache.hadoop.hive.metastore.api.MetaException
org.apache.hadoop.hive.metastore.api.NoSuchObjectException
public T run(boolean initTable) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException
org.apache.hadoop.hive.metastore.api.MetaException
org.apache.hadoop.hive.metastore.api.NoSuchObjectException
public org.apache.hadoop.hive.metastore.api.Table getTable()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.