Package | Description |
---|---|
org.apache.torque |
Torque is an object-relational mapper for Java.
|
org.apache.torque.util |
Misc.
|
Modifier and Type | Method and Description |
---|---|
static <T,P extends BasePeerImpl<T>> |
Torque.getPeerInstance(Class<T> omClass)
This method returns a PeerImpl for the given class.
|
<T,P extends BasePeerImpl<T>> |
TorqueInstance.getPeerInstance(Class<T> omClass)
This method returns a PeerImpl for the given class.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
Torque.registerPeerInstance(Class<T> omClass,
BasePeerImpl<T> peerInstance)
This method registers a PeerImpl for a given class.
|
<T> void |
TorqueInstance.registerPeerInstance(Class<T> omClass,
BasePeerImpl<T> peerInstance)
This method registers a PeerImpl for a given class.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPeerImpl<T extends ObjectModel>
This is an abstract layer for all generated peer classes that
implements several convenience methods that otherwise would have
to be generated.
|
Constructor and Description |
---|
LargeSelect(Criteria criteria,
int pageSize,
BasePeerImpl<T> peerImpl)
Creates a LargeSelect whose results are returned as a
List
containing a maximum of pageSize objects of the type
defined within the class named returnBuilderClassName at a
time, maintaining a maximum of LargeSelect.memoryPageLimit
pages of results in memory. |
LargeSelect(Criteria criteria,
int pageSize,
int memoryPageLimit,
BasePeerImpl<T> peerImpl)
Creates a LargeSelect whose results are returned as a
List
containing a maximum of pageSize objects of the type T at a
time, maintaining a maximum of memoryPageLimit pages of
results in memory. |
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.