Uses of Interface
org.apache.openjpa.jdbc.sql.Result
Package
Description
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA-JDBC SQL Abstraction
-
Uses of Result in org.apache.openjpa.jdbc.kernel
Modifier and TypeFieldDescriptionprotected Result
SelectResultObjectProvider._res
ConnectionInfo.result
Modifier and TypeMethodDescriptionFinderQueryImpl.execute
(OpenJPAStateManager sm, StoreManager store, FetchConfiguration fetch) SelectResultObjectProvider.getResult()
Modifier and TypeMethodDescriptionFinderCacheImpl.cache
(ClassMapping mapping, SelectExecutor select, FetchConfiguration fetch) Cache a Finder Query for the given mapping and select.FinderCacheImpl.get
(ClassMapping mapping, FetchConfiguration fetch) Gets the finder query for the given mapping.FinderCacheImpl.markUncachable
(String id) FinderCacheImpl.markUncachable
(ClassMapping mapping) Modifier and TypeMethodDescriptionprotected Class<?>
JDBCStoreManager.getType
(Result res, ClassMapping mapping) This method is to provide override for non-JDBC or JDBC-like implementation of getting type from the result set.protected void
JDBCStoreManager.getVersion
(ClassMapping mapping, OpenJPAStateManager sm, Result res) This method is to provide override for non-JDBC or JDBC-like implementation of getting version from the result set.protected boolean
JDBCStoreManager.isEmptyResult
(Result res) This method is to provide override for non-JDBC or JDBC-like implementation of checking whether the result set is empty or not.JDBCStoreManager.load
(ClassMapping mapping, JDBCFetchConfiguration fetch, BitSet exclude, Result result) Load the object in the current row of the given result.ModifierConstructorDescriptionGenericResultObjectProvider
(Class<?> pcClass, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Constructor.GenericResultObjectProvider
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Constructor.PreparedResultObjectProvider
(SelectExecutor sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Constructor. -
Uses of Result in org.apache.openjpa.jdbc.kernel.exps
Modifier and TypeMethodDescriptionArgs.load
(ExpContext ctx, ExpState state, Result res) CoalesceExpression.load
(ExpContext ctx, ExpState state, Result res) Concat.load
(ExpContext ctx, ExpState state, Result res) GeneralCaseExpression.load
(ExpContext ctx, ExpState state, Result res) IndexOf.load
(ExpContext ctx, ExpState state, Result res) MapEntry.load
(ExpContext ctx, ExpState state, Result res) MapKey.load
(ExpContext ctx, ExpState state, Result res) Math.load
(ExpContext ctx, ExpState state, Result res) NullIfExpression.load
(ExpContext ctx, ExpState state, Result res) PCPath.load
(ExpContext ctx, ExpState state, Result res) SimpleCaseExpression.load
(ExpContext ctx, ExpState state, Result res) SubQ.load
(ExpContext ctx, ExpState state, Result res) Substring.load
(ExpContext ctx, ExpState state, Result res) Trim.load
(ExpContext ctx, ExpState state, Result res) Val.load
(ExpContext ctx, ExpState state, Result res) Load the data for this value. -
Uses of Result in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionboolean
ClassMapping.customLoad
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result result) boolean
ClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result result) Implement this method to customize loading from aResult
into an instance.Class<?>
Discriminator.getClass
(JDBCStore store, ClassMapping base, Result result) Class<?>
DiscriminatorStrategy.getClass
(JDBCStore store, ClassMapping base, Result result) Return the class for the current result row.ClassMapping.getObjectId
(JDBCStore store, Result res, ForeignKey fk, boolean subs, Joins joins) Return the oid value stored in the result.DelegatingJoinable.getPrimaryKeyValue
(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) Joinable.getPrimaryKeyValue
(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) Return the value for this joinable from the given result, using the given columns.void
FieldMapping.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
FieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Load virtual row data; the given result is not guaranteed to contain data for this field, so the field mapping should make sure the result contains its needed column data before loading.Version.load
(OpenJPAStateManager sm, JDBCStore store, Result res) Version.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) VersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res) Load data.VersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) Load data.void
FieldMapping.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
FieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Load the joined eager result.FieldMapping.loadKeyProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) FieldStrategy.loadKeyProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load this field's key value using the given result.FieldMapping.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) FieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load this field value using the given result. -
Uses of Result in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeMethodDescriptionResult[]
HandlerHandlerMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]
HandlerRelationMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) Result[]
LRSMapFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Return results containing all keys and values for this map.Result[]
RelationHandlerMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) Result[]
RelationMapInverseKeyFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]
RelationMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]
RelationRelationMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) Modifier and TypeMethodDescriptionboolean
AbstractClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result result) AbstractDiscriminatorStrategy.getClass
(JDBCStore store, ClassMapping base, Result result) InValueDiscriminatorStrategy.getClass
(JDBCStore store, ClassMapping base, Result res) SubclassJoinDiscriminatorStrategy.getClass
(JDBCStore store, ClassMapping base, Result res) SuperclassDiscriminatorStrategy.getClass
(JDBCStore store, ClassMapping base, Result res) HandlerFieldStrategy.getPrimaryKeyValue
(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) PrimitiveFieldStrategy.getPrimaryKeyValue
(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) RelationFieldStrategy.getPrimaryKeyValue
(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) StringFieldStrategy.getPrimaryKeyValue
(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) void
AbstractFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) AbstractVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res) AbstractVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) ColumnVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res) ColumnVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) void
EmbedFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
HandlerFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
LobFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) protected Object
protected Object
void
PrimitiveFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
RelationFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
StringFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) static Object
HandlerStrategies.loadDataStore
(ValueMapping vm, Result res, Joins joins, Column[] cols) Load the datastore value from the given result.void
AbstractFieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
RelationFieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
StoreCollectionFieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) HandlerCollectionTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSCollectionFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.RelationCollectionInverseKeyFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationCollectionTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected Object
RelationToManyInverseKeyFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected Object
RelationToManyTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected abstract Object
StoreCollectionFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.HandlerHandlerMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a key from the given result.RelationHandlerMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) AbstractFieldStrategy.loadKeyProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) MapTableFieldStrategy.loadKeyProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) static Object
HandlerStrategies.loadObject
(ValueMapping vm, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins, Column[] cols, boolean objectValueRequiresLoad) Load the Object value from the given result.AbstractFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) EmbedFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Loading embed object without instantiating owner entityHandlerFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) MapTableFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) PrimitiveFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) StoreCollectionFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) StringFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerHandlerMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a value from the given result.RelationHandlerMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) -
Uses of Result in org.apache.openjpa.jdbc.sql
Modifier and TypeClassDescriptionclass
AResult
implementation designed to be subclassed easily by implementations.class
Result that merges multiple result delegates.class
BaseResult
implementation wrapped around a result set.static class
AResult
implementation wrapped around this select.Modifier and TypeMethodDescriptionLogicalUnion.execute
(JDBCStore store, JDBCFetchConfiguration fetch) LogicalUnion.execute
(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) LogicalUnion.UnionSelect.execute
(JDBCStore store, JDBCFetchConfiguration fetch) LogicalUnion.UnionSelect.execute
(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) SelectExecutor.execute
(JDBCStore store, JDBCFetchConfiguration fetch) Execute this select in the context of the given store manager.SelectExecutor.execute
(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) Execute this select in the context of the given store manager.SelectImpl.execute
(JDBCStore store, JDBCFetchConfiguration fetch) SelectImpl.execute
(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) protected Result
SelectImpl.execute
(StoreContext ctx, JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) Execute this select in the context of the given store manager.SelectImpl.getEagerResult
(Connection conn, PreparedStatement stmnt, ResultSet rs, JDBCStore store, JDBCFetchConfiguration fetch, boolean forUpdate, SQLBuffer sql) This method is to provide override for non-JDBC or JDBC-like implementation of executing eager selects.Modifier and TypeMethodDescriptionMergedResult.ResultComparator.getOrderingValue
(Result res, int idx) Return the ordering value of the current row of the given result.ModifierConstructorDescriptionMergedResult
(Result[] res) Constructor; supply delegates.MergedResult
(Result[] res, MergedResult.ResultComparator comp) Constructor; supply delegates and comparator for ordering results.