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
MetaExceptionpublic GetHelper(String catalogName, String dbName, String tblName, List<String> fields, boolean allowSql, boolean allowJdo) throws MetaException
MetaExceptionprotected boolean canUseDirectSql(ObjectStore.GetHelper<T> ctx) throws MetaException
MetaExceptionprotected abstract String describeResult()
protected abstract T getSqlResult(ObjectStore.GetHelper<T> ctx) throws MetaException
MetaExceptionprotected abstract T getJdoResult(ObjectStore.GetHelper<T> ctx) throws MetaException, NoSuchObjectException, InvalidObjectException
public T run(boolean initTable) throws MetaException, NoSuchObjectException
MetaExceptionNoSuchObjectExceptionpublic Table getTable()
Copyright © 2024 The Apache Software Foundation. All rights reserved.