Package | Description |
---|---|
org.datanucleus.store.rdbms.query |
Package providing the querying mechanism for DataNucleus for RDBMS datastores.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractROF<T>
Abstract result object factory, taking the ExecutionContext being operated in, and the ResultSet that will be processed.
|
class |
PersistentClassROF<T>
Result-object factory that takes a JDBC ResultSet, a results mapping, and creates 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 result class 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(org.datanucleus.ExecutionContext ec,
ResultSet rs,
Class resultClass)
Utility to take a ResultSet and return a ResultObjectFactory for extracting the results,
assuming that no candidate class is supplied.
|
Modifier and Type | Method and Description |
---|---|
static AbstractRDBMSQueryResult |
RDBMSQueryUtils.getQueryResultForQuery(org.datanucleus.store.query.Query q,
ResultObjectFactory rof,
ResultSet rs,
Collection candidates) |
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 © 2019. All rights reserved.