public class MappedQueryForFieldEq<T,ID> extends BaseMappedQuery<T,ID>
resultsFieldTypes
argFieldTypes, clazz, connectionSource, dao, idField, logger, statement, tableInfo
Modifier | Constructor and Description |
---|---|
protected |
MappedQueryForFieldEq(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo,
String statement,
FieldType[] argFieldTypes,
FieldType[] resultsFieldTypes,
String label) |
Modifier and Type | Method and Description |
---|---|
static <T,ID> MappedQueryForFieldEq<T,ID> |
build(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo,
FieldType idFieldType) |
protected static <T,ID> String |
buildStatement(DatabaseType databaseType,
TableInfo<T,ID> tableInfo,
FieldType idFieldType) |
T |
execute(DatabaseConnection databaseConnection,
ID id,
ObjectCache objectCache)
Query for an object in the database which matches the id argument.
|
mapRow, setParentInformation
convertIdToFieldObject, getFieldObjects, toString
public T execute(DatabaseConnection databaseConnection, ID id, ObjectCache objectCache) throws SQLException
SQLException
public static <T,ID> MappedQueryForFieldEq<T,ID> build(Dao<T,ID> dao, TableInfo<T,ID> tableInfo, FieldType idFieldType) throws SQLException
SQLException
protected static <T,ID> String buildStatement(DatabaseType databaseType, TableInfo<T,ID> tableInfo, FieldType idFieldType)
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.