| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected <T> T | AbstractIdGenerator. getId(Connection connection,
     Object keyInfo,
     RecordMapper<T> mapper)Returns the last ID used by this connection. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BigDecimalMapperMaps a database record to a BigDecimal. | 
| class  | CompositeMapperUses a list of mappers to map a database record to a list of objects. | 
| class  | DateMapperMaps a database record to a java.util.Date. | 
| class  | IntegerMapperMaps a database record to a Integer. | 
| class  | LongMapperMaps a database record to a Long. | 
| class  | ObjectListMapperMaps a record to a list of objects. | 
| class  | StringMapperMaps a database record to a String. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CompositeMapper. addMapper(RecordMapper<?> mapper,
         int offset)Adds a new mapper to be applied to a result set. | 
| Modifier and Type | Method and Description | 
|---|---|
| RecordMapper<T> | BasePeerImpl. getRecordMapper()Get the record mapper for this instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| <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 SQL  selectusing a PreparedStatement. | 
| <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(String query,
        RecordMapper<TT> mapper,
        String dbName)Selects rows from a database an maps them to objects. | 
| <TT> Stream<TT> | BasePeerImpl. doSelectAsStream(Criteria criteria,
                RecordMapper<TT> mapper,
                Connection connection)Performs a SQL  selectusing 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> 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. | 
| Constructor and 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 | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.