public abstract class ObjectStore.GetHelper<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
catName |
protected String |
dbName |
protected List<String> |
partitionFields |
protected T |
results |
protected String |
tblName |
Constructor and Description |
---|
GetHelper(String catalogName,
String dbName,
String tblName,
boolean allowSql,
boolean allowJdo) |
GetHelper(String catalogName,
String dbName,
String tblName,
List<String> fields,
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) |
Table |
getTable() |
T |
run(boolean initTable) |
protected final String catName
protected final String dbName
protected final String tblName
protected T results
public GetHelper(String catalogName, String dbName, String tblName, boolean allowSql, boolean allowJdo) throws MetaException
MetaException
public GetHelper(String catalogName, String dbName, String tblName, List<String> fields, boolean allowSql, boolean allowJdo) throws MetaException
MetaException
protected boolean canUseDirectSql(ObjectStore.GetHelper<T> ctx) throws MetaException
MetaException
protected abstract String describeResult()
protected abstract T getSqlResult(ObjectStore.GetHelper<T> ctx) throws MetaException
MetaException
protected abstract T getJdoResult(ObjectStore.GetHelper<T> ctx) throws MetaException, NoSuchObjectException
MetaException
NoSuchObjectException
public T run(boolean initTable) throws MetaException, NoSuchObjectException
MetaException
NoSuchObjectException
public Table getTable()
Copyright © 2023 The Apache Software Foundation. All rights reserved.