Package | Description |
---|---|
org.datanucleus.store.rdbms |
Package providing management of the persistence to RDBMS datastores.
|
org.datanucleus.store.rdbms.query |
Package providing the querying mechanism for DataNucleus for RDBMS datastores.
|
Modifier and Type | Method and Description |
---|---|
ResultObjectFactory |
RDBMSStoreManager.newResultObjectFactory(org.datanucleus.metadata.AbstractClassMetaData acmd,
StatementClassMapping mappingDefinition,
boolean ignoreCache,
org.datanucleus.FetchPlan fetchPlan,
Class persistentClass) |
Modifier and Type | Class and Description |
---|---|
class |
PersistentClassROF
ResultObjectFactory that takes a JDBC ResultSet and create a persistable object instance for
each row in the ResultSet.
|
class |
ResultClassROF
Take a ResultSet, and for each row retrieves an object of a specified type.
|
class |
ResultMetaDataROF
ResultObjectFactory that operates using a QueryResultMetaData and returns objects based on the definition.
|
Modifier and Type | Field and Description |
---|---|
protected ResultObjectFactory |
AbstractRDBMSQueryResult.rof
ResultObjectFactory for converting the result set into objects.
|
Modifier and Type | Method and Description |
---|---|
protected ResultObjectFactory |
SQLQuery.getResultObjectFactoryForCandidateClass(ResultSet rs)
Method to generate a ResultObjectFactory for converting rows of the provided ResultSet into
instances of the candidate class.
|
static ResultObjectFactory |
RDBMSQueryUtils.getResultObjectFactoryForNoCandidateClass(RDBMSStoreManager storeMgr,
ResultSet rs,
Class resultClass)
Utility to take a ResultSet and return a ResultObjectFactory for extracting the results,
assuming that no candidate class is supplied.
|
Constructor and Description |
---|
AbstractRDBMSQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory rof,
ResultSet rs)
Constructor of the result from a Query.
|
ForwardQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory rof,
ResultSet rs,
Collection candidates)
Constructor of the result from a Query.
|
ScrollableQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory rof,
ResultSet rs,
Collection candidates)
Constructor of the result from a Query.
|
Copyright © 2015. All rights reserved.