Uses of Interface
org.apache.torque.om.mapper.RecordMapper
Packages that use RecordMapper
Package
Description
The ID broker, an API to provide persistent
object identifiers,
as described by Scott Ambler's paper on "Enterprise-Ready Object
IDs".
Contains the Mapper interface which defines how to map from
a ResultSet to an object, and simple implementations of this interface.
Misc. utility classes.
-
Uses of RecordMapper in org.apache.torque.oid
Methods in org.apache.torque.oid with parameters of type RecordMapperModifier and TypeMethodDescriptionprotected <T> TAbstractIdGenerator.getId(Connection connection, Object keyInfo, RecordMapper<T> mapper) Returns the last ID used by this connection. -
Uses of RecordMapper in org.apache.torque.om.mapper
Classes in org.apache.torque.om.mapper that implement RecordMapperModifier and TypeClassDescriptionclassMaps a database record to a BigDecimal.classUses a list of mappers to map a database record to a list of objects.classMaps a database record to a java.util.Date.classMaps a database record to a Integer.classMaps a database record to a Long.classMaps a record to a list of objects.classMaps a database record to a String.Methods in org.apache.torque.om.mapper with parameters of type RecordMapperModifier and TypeMethodDescriptionvoidCompositeMapper.addMapper(RecordMapper<?> mapper, int offset) Adds a new mapper to be applied to a result set. -
Uses of RecordMapper in org.apache.torque.util
Methods in org.apache.torque.util that return RecordMapperModifier and TypeMethodDescriptionBasePeerImpl.getRecordMapper()Get the record mapper for this instance.Methods in org.apache.torque.util with parameters of type RecordMapperModifier and TypeMethodDescription<TT> List<TT> BasePeerImpl.doSelect(String query, RecordMapper<TT> mapper, String dbName) Selects rows from a database an maps them to objects.<TT> List<TT> BasePeerImpl.doSelect(String query, RecordMapper<TT> mapper, Connection connection) Selects rows from a database an maps them to objects.<TT> List<TT> BasePeerImpl.doSelect(Criteria criteria, RecordMapper<TT> mapper) Selects rows from a database an maps them to objects.<TT> List<TT> BasePeerImpl.doSelect(Criteria criteria, RecordMapper<TT> mapper, Connection connection) Performs a SQLselectusing a PreparedStatement.<TT> Stream<TT> BasePeerImpl.doSelectAsStream(String query, RecordMapper<TT> mapper, Connection connection) Selects rows from a database an maps them to objects.<TT> Stream<TT> BasePeerImpl.doSelectAsStream(Criteria criteria, RecordMapper<TT> mapper, Connection connection) Performs a SQLselectusing a PreparedStatement.<TT> TTBasePeerImpl.doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper) Selects at most a single row from a database an maps them to objects.<TT> TTBasePeerImpl.doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper, Connection connection) Selects at most a single row from a database an maps them to objects.voidBasePeerImpl.setRecordMapper(RecordMapper<T> recordMapper) Set the record mapper for this instance.Constructors in org.apache.torque.util with parameters of type RecordMapperModifierConstructorDescriptionAbstractPeerImpl(RecordMapper<T> recordMapper, TableMap tableMap, String databaseName) Constructor providing the objects to be injected as parameters.BasePeerImpl(RecordMapper<T> recordMapper, TableMap tableMap, String databaseName) Constructor providing the objects to be injected as parameters.ResultsetSpliterator(RecordMapper<T> recordMapper, Criteria criteria, Statement statement, ResultSet resultSet) Constructor