Uses of Interface
org.apache.torque.om.mapper.RecordMapper
-
Packages that use RecordMapper Package Description org.apache.torque.oid The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs".org.apache.torque.om.mapper Contains the Mapper interface which defines how to map from a ResultSet to an object, and simple implementations of this interface.org.apache.torque.util Misc. -
-
Uses of RecordMapper in org.apache.torque.oid
Methods in org.apache.torque.oid with parameters of type RecordMapper Modifier and Type Method Description protected <T> T
AbstractIdGenerator. 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 RecordMapper Modifier and Type Class Description class
BigDecimalMapper
Maps a database record to a BigDecimal.class
CompositeMapper
Uses a list of mappers to map a database record to a list of objects.class
DateMapper
Maps a database record to a java.util.Date.class
IntegerMapper
Maps a database record to a Integer.class
LongMapper
Maps a database record to a Long.class
ObjectListMapper
Maps a record to a list of objects.class
StringMapper
Maps a database record to a String.Methods in org.apache.torque.om.mapper with parameters of type RecordMapper Modifier and Type Method Description void
CompositeMapper. 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 RecordMapper Modifier and Type Method Description RecordMapper<T>
BasePeerImpl. getRecordMapper()
Get the record mapper for this instance.Methods in org.apache.torque.util with parameters of type RecordMapper Modifier and Type Method Description <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 SQLselect
using 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 SQLselect
using a PreparedStatement.<TT> TT
BasePeerImpl. doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper)
Selects at most a single row from a database an maps them to objects.<TT> TT
BasePeerImpl. doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper, Connection connection)
Selects at most a single row from a database an maps them to objects.void
BasePeerImpl. setRecordMapper(RecordMapper<T> recordMapper)
Set the record mapper for this instance.Constructors in org.apache.torque.util with parameters of type RecordMapper Constructor Description AbstractPeerImpl(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
-