Package | Description |
---|---|
org.datanucleus.store.rdbms.query |
Package providing the querying mechanism for DataNucleus for RDBMS datastores.
|
Modifier and Type | Class and Description |
---|---|
class |
PersistentClassROF<T>
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<E> |
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<E> rof,
ResultSet rs)
Constructor of the result from a Query.
|
ForwardQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory<E> rof,
ResultSet rs,
Collection candidates)
Constructor of the result from a Query.
|
ScrollableQueryResult(org.datanucleus.store.query.Query query,
ResultObjectFactory<E> rof,
ResultSet rs,
Collection candidates)
Constructor of the result from a Query.
|
Copyright © 2017. All rights reserved.