public abstract class ObjectStore.GetHelper<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
dbName |
protected T |
results |
protected String |
tblName |
Constructor and Description |
---|
GetHelper(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) |
Table |
getTable() |
T |
run(boolean initTable) |
protected final String dbName
protected final String tblName
protected T results
public GetHelper(String dbName, String tblName, 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 © 2016 The Apache Software Foundation. All rights reserved.