Uses of Class
org.eclipse.persistence.queries.ObjectBuildingQuery
-
-
Uses of ObjectBuildingQuery in org.eclipse.persistence.descriptors.copying
Methods in org.eclipse.persistence.descriptors.copying with parameters of type ObjectBuildingQuery Modifier and Type Method Description ObjectAbstractCopyPolicy. buildWorkingCopyCloneFromRow(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow)By default create a new instance.ObjectCloneCopyPolicy. buildWorkingCopyCloneFromRow(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow)Create a new instance, unless a workingCopyClone method is specified, then build a new instance and clone it.ObjectCopyPolicy. buildWorkingCopyCloneFromRow(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow)Return an instance with the primary key set from the row, used for building a working copy during a unit of work transactional read. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.eis.mappings
Methods in org.eclipse.persistence.eis.mappings with parameters of type ObjectBuildingQuery Modifier and Type Method Description protected ObjectEISCompositeCollectionMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentsCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected ObjectEISCompositeObjectMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)ObjectEISOneToManyMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the value of the reference attribute or a value holder.ObjectEISOneToOneMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type ObjectBuildingQuery Modifier and Type Method Description voidObjectBuilder. buildAttributesIntoObject(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession)Each mapping is recursed to assign values from the Record to the attributes in the domain object.protected booleanObjectBuilder. buildAttributesIntoObjectSOP(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession)Each mapping is recursed to assign values from the Record to the attributes in the domain object.voidObjectBuilder. buildAttributesIntoShallowObject(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query)INTERNAL: For reading through the write connection when in transaction, We need a partially populated original, so that we can build a clone using the copy policy, even though we can't put this original in the shared cache yet; just build a shallow original (i.e.voidObjectBuilder. buildAttributesIntoWorkingCopyClone(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh)INTERNAL: For reading through the write connection when in transaction, populate the clone directly from the database row.protected booleanObjectBuilder. buildAttributesIntoWorkingCopyCloneSOP(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh)For reading through the write connection when in transaction, populate the clone directly from the database row.protected ObjectObjectBuilder. buildObject(boolean returnCacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager)Return an instance of the receivers javaClass.ObjectObjectBuilder. buildObject(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager)Return an instance of the receivers javaClass.ObjectObjectBuilder. buildObject(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager, AbstractSession session, ClassDescriptor concreteDescriptor, InheritancePolicy inheritancePolicy, boolean isUnitOfWork, boolean shouldCacheQueryResults, boolean shouldUseWrapperPolicy)Return an instance of the receivers javaClass.ObjectObjectBuilder. buildObjectFromResultSet(ObjectBuildingQuery query, JoinedAttributeManager joinManager, ResultSet resultSet, AbstractSession executionSession, DatabaseAccessor accessor, ResultSetMetaData metaData, DatabasePlatform platform, Vector fieldsList, DatabaseField[] fieldsArray)INTERNAL: Builds a working copy clone directly from a result set.protected ObjectObjectBuilder. buildObjectInUnitOfWork(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor)For executing all reads on the UnitOfWork, the session when building objects from rows will now be the UnitOfWork.voidObjectBuilder. buildPrimaryKeyAttributesIntoObject(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query, AbstractSession session)INTERNAL: Build just the primary key mappings into the object.protected ObjectObjectBuilder. buildProtectedObject(boolean returnCacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager)Return an instance of the receivers javaClass.protected ObjectObjectBuilder. buildWorkingCopyCloneFromRow(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey)INTERNAL: Builds a working copy clone directly from the database row.protected ObjectObjectBuilder. buildWorkingCopyCloneNormally(ObjectBuildingQuery query, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager)buildWorkingCopyCloneFromRow is an alternative to this which is the normal behavior.protected voidObjectBuilder. copyQueryInfoToCacheKey(CacheKey cacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, ClassDescriptor concreteDescriptor)Initialize a cache key.ObjectObjectBuilder. instantiateWorkingCopyCloneFromRow(AbstractRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWorkImpl unitOfWork)It is now possible to build working copy clones directly from rows.protected voidObjectBuilder. loadBatchReadAttributes(ClassDescriptor concreteDescriptor, Object sourceObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, boolean isTargetProtected)protected voidObjectBuilder. loadJoinedAttributes(ClassDescriptor concreteDescriptor, Object sourceObject, CacheKey cacheKey, AbstractRecord databaseRow, JoinedAttributeManager joinManager, ObjectBuildingQuery query, boolean isTargetProtected)protected voidObjectBuilder. postBuildAttributesIntoObjectEvent(Object domainObject, AbstractRecord databaseRow, ObjectBuildingQuery query, boolean forRefresh)protected voidObjectBuilder. postBuildAttributesIntoWorkingCopyCloneEvent(Object clone, AbstractRecord databaseRow, ObjectBuildingQuery query, UnitOfWorkImpl unitOfWork, boolean forRefresh)protected booleanObjectBuilder. refreshObjectIfRequired(ClassDescriptor concreteDescriptor, CacheKey cacheKey, Object domainObject, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, AbstractSession session, boolean targetIsProtected)This method is called when a cached Entity needs to be refreshed -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.identitymaps
Methods in org.eclipse.persistence.internal.identitymaps with parameters of type ObjectBuildingQuery Modifier and Type Method Description voidCacheKey. acquireLock(ObjectBuildingQuery query) -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm with parameters of type ObjectBuildingQuery Modifier and Type Method Description voidXMLObjectBuilder. buildAttributesIntoObject(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession)Override method in superclass in order to set the session on the record.ObjectXMLObjectBuilder. buildObject(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager)INTERNAL: Override the parent's buildObject to allow for the caching of aggregate objects in OX. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.queries
Fields in org.eclipse.persistence.internal.queries declared as ObjectBuildingQuery Modifier and Type Field Description protected ObjectBuildingQueryJoinedAttributeManager. baseQueryStores the base query.Methods in org.eclipse.persistence.internal.queries that return ObjectBuildingQuery Modifier and Type Method Description ObjectBuildingQueryJoinedAttributeManager. getBaseQuery()Returns the base query.Methods in org.eclipse.persistence.internal.queries with parameters of type ObjectBuildingQuery Modifier and Type Method Description booleanContainerPolicy. addAll(List elements, Object container, AbstractSession session, List<AbstractRecord> dbRows, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: This is used for ordered List containers to add all of the elements to the collection in the order of the index field in the row.booleanOrderedListContainerPolicy. addAll(List elements, Object container, AbstractSession session, List<AbstractRecord> dbRows, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: Add a list of elements to container.booleanContainerPolicy. addInto(Object element, Object container, AbstractSession session, AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: Add element to container.booleanMappedKeyMapContainerPolicy. addInto(Object element, Object container, AbstractSession session, AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: Add element to that implements the Map interface use the row to compute the keyObjectContainerPolicy. buildKey(AbstractRecord row, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)Extract the key for the map from the provided row overridden by subclasses that deal with map keysObjectMappedKeyMapContainerPolicy. buildKey(AbstractRecord row, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)Extract the key for the map from the provided row.ObjectContainerPolicy. buildKeyFromJoinedRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)Extract the key for the map from the provided row overridden by subclasses that deal with map keysObjectMappedKeyMapContainerPolicy. buildKeyFromJoinedRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)Extract the key for the map from the provided row.Constructors in org.eclipse.persistence.internal.queries with parameters of type ObjectBuildingQuery Constructor Description JoinedAttributeManager(ClassDescriptor descriptor, ExpressionBuilder baseBuilder, ObjectBuildingQuery baseQuery) -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions with parameters of type ObjectBuildingQuery Modifier and Type Method Description CacheKeyAbstractSession. retrieveCacheKey(Object primaryKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager, ObjectBuildingQuery query)booleanRepeatableWriteUnitOfWork. shouldForceReadFromDB(ObjectBuildingQuery query, Object primaryKey)INTERNAL: Calculate whether we should read directly from the database to the UOW.booleanUnitOfWorkImpl. shouldForceReadFromDB(ObjectBuildingQuery query, Object primaryKey)INTERNAL: Calculate whether we should read directly from the database to the UOW. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings that return ObjectBuildingQuery Modifier and Type Method Description ObjectBuildingQueryAggregateObjectMapping. prepareNestedQuery(ObjectBuildingQuery sourceQuery)INTERNAL: Clone and prepare the selection query as a nested batch read query.Methods in org.eclipse.persistence.mappings with parameters of type ObjectBuildingQuery Modifier and Type Method Description ObjectAggregateObjectMapping. buildAggregateFromRow(AbstractRecord databaseRow, Object targetObject, CacheKey cacheKey, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, boolean buildShallowOriginal, AbstractSession executionSession, boolean targetIsProtected)INTERNAL: Build and return an aggregate object from the specified row.voidAggregateMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidAggregateObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.abstract voidDatabaseMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidForeignReferenceMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidMultitenantPrimaryKeyMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.voidAggregateObjectMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidDatabaseMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidOneToOneMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.ObjectAggregateObjectMapping. createMapComponentFromJoinedRow(AbstractRecord dbRow, JoinedAttributeManager joinManger, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection and a join query is executed.ObjectOneToOneMapping. createMapComponentFromJoinedRow(AbstractRecord dbRow, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectAggregateCollectionMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectAggregateObjectMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectDirectMapMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectManyToManyMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectOneToManyMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectOneToOneMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.protected voidForeignReferenceMapping. extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery)INTERNAL: Called if shouldExtendPessimisticLockScopeInTargetQuery() is true.protected voidManyToManyMapping. extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery)INTERNAL: Adds locking clause to the target query to extend pessimistic lock scope.protected voidOneToOneMapping. extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery)INTERNAL: Adds locking clause to the target query to extend pessimistic lock scope.protected booleanForeignReferenceMapping. isExtendingPessimisticLockScope(ObjectBuildingQuery sourceQuery)INTERNAL: Indicates whether the source query's pessimistic lock scope scope should be extended in the target query.protected ReadQueryForeignReferenceMapping. prepareHistoricalQuery(ReadQuery targetQuery, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Allow for the mapping to perform any historical query additions.protected ReadQueryManyToManyMapping. prepareHistoricalQuery(ReadQuery targetQuery, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Append the temporal selection to the query selection criteria.protected ObjectLevelReadQueryForeignReferenceMapping. prepareNestedJoinQueryClone(AbstractRecord row, List dataResults, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Prepare the clone of the nested query for joining.ObjectLevelReadQueryAggregateCollectionMapping. prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session)INTERNAL: Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager.ObjectLevelReadQueryDirectCollectionMapping. prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session)INTERNAL: Clone and prepare the joined direct query.ObjectLevelReadQueryForeignReferenceMapping. prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session)INTERNAL: Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager.ObjectBuildingQueryAggregateObjectMapping. prepareNestedQuery(ObjectBuildingQuery sourceQuery)INTERNAL: Clone and prepare the selection query as a nested batch read query.ObjectDatabaseMapping. readFromResultSetIntoObject(ResultSet resultSet, Object targetObject, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)INTERNAL: Extract values directly from the result-set.ObjectAggregateObjectMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Build an aggregate object from the specified row and put it in the specified target object.ObjectDatabaseMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Extract value from the row and set the attribute to this value in the object.ObjectForeignReferenceMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Extract value from the row and set the attribute to this value in the object.voidRelationTableMechanism. setRelationTableLockingClause(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery)INTERNAL: Return relation table locking clause.protected booleanForeignReferenceMapping. shouldUseValueFromRowWithJoin(JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery)INTERNAL: Indicates whether valueFromRow should call valueFromRowInternalWithJoin (true) or valueFromRowInternal (false)ObjectDatabaseMapping. valueFromResultSet(ResultSet resultSet, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)INTERNAL: Returns the value for the mapping directly from the result-set.ObjectDatabaseMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, boolean isTargetProtected)INTERNAL: A subclass should implement this method if it wants different behavior.ObjectDatabaseMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: A subclass should implement this method if it wants different behavior.ObjectDirectCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the value of the reference attribute or a value holder.ObjectForeignReferenceMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the value of the reference attribute or a value holder.ObjectVariableOneToOneMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected ObjectForeignReferenceMapping. valueFromRowInternal(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Return the value of the reference attribute or a value holder.protected ObjectForeignReferenceMapping. valueFromRowInternal(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject)INTERNAL: Return the value of the reference attribute or a value holder.protected ObjectOneToOneMapping. valueFromRowInternal(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected ObjectCollectionMapping. valueFromRowInternalWithJoin(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected ObjectDirectCollectionMapping. valueFromRowInternalWithJoin(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected ObjectDirectMapMapping. valueFromRowInternalWithJoin(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected ObjectForeignReferenceMapping. valueFromRowInternalWithJoin(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: If the query used joining or partial attributes, build the target object directly.protected ObjectOneToOneMapping. valueFromRowInternalWithJoin(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation with parameters of type ObjectBuildingQuery Modifier and Type Method Description voidAbstractCompositeDirectCollectionMapping. buildCloneFromRow(AbstractRecord row, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.voidAbstractDirectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.voidAbstractTransformationMapping. buildCloneFromRow(AbstractRecord record, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.protected abstract ObjectAbstractCompositeCollectionMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession)protected abstract ObjectAbstractCompositeObjectMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession)voidAbstractCompositeObjectMapping. buildShallowOriginalFromRow(AbstractRecord row, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidAbstractDirectMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidAbstractTransformationMapping. buildShallowOriginalFromRow(AbstractRecord record, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.ObjectAbstractDirectMapping. createMapComponentFromJoinedRow(AbstractRecord dbRow, JoinedAttributeManager joinManger, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection and a join query is executed.ObjectMapKeyMapping. createMapComponentFromJoinedRow(AbstractRecord dbRow, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection and a join query is used.ObjectAbstractCompositeCollectionMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectAbstractCompositeDirectCollectionMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectAbstractDirectMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectMapComponentMapping. createMapComponentFromRow(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ObjectAbstractTransformationMapping. readFromRowIntoObject(AbstractRecord row, JoinedAttributeManager joinManager, Object object, CacheKey parentCacheKey, ObjectBuildingQuery query, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Extract value from the row and set the attribute to the value in the object.ObjectAbstractDirectMapping. valueFromResultSet(ResultSet resultSet, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)INTERNAL: Returns the value for the mapping directly from the result-set.ObjectAbstractCompositeCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build and return an aggregate collection from the specified row.ObjectAbstractCompositeDirectCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectAbstractCompositeObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Extract and return the aggregate object from the specified row.ObjectAbstractDirectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the mapping's attribute value from the row. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.mappings.structures
Methods in org.eclipse.persistence.mappings.structures with parameters of type ObjectBuildingQuery Modifier and Type Method Description protected ObjectObjectArrayMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected ObjectStructureMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)ObjectReferenceMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.oxm.mappings
Methods in org.eclipse.persistence.oxm.mappings with parameters of type ObjectBuildingQuery Modifier and Type Method Description voidXMLAnyAttributeMapping. buildCloneFromRow(AbstractRecord Record, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLAnyCollectionMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLAnyObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLChoiceCollectionMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLChoiceObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLInverseReferenceMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)protected ObjectXMLCompositeCollectionMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession)protected ObjectXMLCompositeObjectMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected ObjectXMLAbstractAnyMapping. buildObjectAndWrapInXMLRoot(ClassDescriptor referenceDescriptor, XMLConverter converter, ObjectBuildingQuery query, DOMRecord record, DOMRecord nestedRecord, JoinedAttributeManager joinManager, AbstractSession session, Node next, Object container, ContainerPolicy containerPolicy)Uses a given reference descriptor to build an object based on a given DOMRecord.protected ObjectXMLAbstractAnyMapping. buildObjectForNonXMLRoot(ClassDescriptor referenceDescriptor, XMLConverter converter, ObjectBuildingQuery query, DOMRecord record, DOMRecord nestedRecord, JoinedAttributeManager joinManager, AbstractSession session, Node next, Object container, ContainerPolicy containerPolicy)ObjectXMLCompositeCollectionMapping. buildObjectFromNestedRow(AbstractRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLChoiceObjectMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLCollectionReferenceMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and stored it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.ObjectXMLCollectionReferenceMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected, Object container)INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and stored it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.ObjectXMLCompositeObjectMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLObjectReferenceMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and store it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.ObjectXMLAnyAttributeMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLAnyCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLAnyObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLBinaryDataCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLBinaryDataMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLChoiceCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLChoiceObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLCompositeCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLCompositeDirectCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectXMLCompositeObjectMapping. valueFromRow(Object fieldValue, XMLRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLCompositeObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLDirectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Return the mapping's attribute value from the row.ObjectXMLFragmentCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectXMLFragmentMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) -
Uses of ObjectBuildingQuery in org.eclipse.persistence.queries
Subclasses of ObjectBuildingQuery in org.eclipse.persistence.queries Modifier and Type Class Description classObjectLevelReadQueryPurpose: Abstract class for all read queries using objects.classReadAllQueryPurpose: Concrete class for all read queries involving a collection of objects.classReadObjectQueryPurpose: Concrete class for all read queries involving a single object.classReportQueryPurpose: Query for information about a set of objects instead of the objects themselves.classResultSetMappingQueryPurpose: Concrete class to perform read using raw SQL and the SQLResultSetMapping.
-