Uses of Class
org.eclipse.persistence.queries.FetchGroup
-
-
Uses of FetchGroup in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors that return FetchGroup Modifier and Type Method Description FetchGroupFetchGroupManager. createDefaultFetchGroup()PUBLIC: Returns clone of the default fetch group.FetchGroupFetchGroupManager. createFullFetchGroup()PUBLIC: Returns clone of the full fetch group - contains all the attributes, no nesting.FetchGroupFetchGroupManager. createMinimalFetchGroup()PUBLIC: Returns clone of the minimal fetch group.FetchGroupClassDescriptor. getDefaultFetchGroup()INTERNAL: Return the default fetch group on the descriptor.FetchGroupFetchGroupManager. getDefaultFetchGroup()Return the descriptor-level default fetch group.FetchGroupFetchGroupManager. getFetchGroup(String groupName)Return a pre-defined named fetch group.FetchGroupFetchGroupManager. getFetchGroup(String groupName, boolean useDefault)Lookup the FetchGroup to use given a name and a flag taking into consideration descriptor inheritance to ensure parent descriptors are searched for named and default FetchGroup.FetchGroupFetchGroupManager. getObjectFetchGroup(Object domainObject)INTERNAL: Return FetchGroup held by the object.FetchGroupFetchGroupManager. unionFetchGroups(FetchGroup first, FetchGroup second)INTERNAL: Union two fetch groups.Methods in org.eclipse.persistence.descriptors that return types with arguments of type FetchGroup Modifier and Type Method Description Map<String,FetchGroup>FetchGroupManager. getFetchGroups()Return the fetch group map: keyed by the group name, valued by the fetch group object.Methods in org.eclipse.persistence.descriptors with parameters of type FetchGroup Modifier and Type Method Description voidFetchGroupManager. addFetchGroup(FetchGroup group)Add a named fetch group to the descriptorvoidFetchGroupManager. addMinimalFetchGroup(FetchGroup fetchGroup)INTERNAL: Add primary key and version attributes to the passed fetch group.EntityFetchGroupFetchGroupManager. flatUnionFetchGroups(FetchGroup first, FetchGroup second, boolean shouldClone)INTERNAL: Union two fetch groups as EntityFetchGroups.EntityFetchGroupFetchGroupManager. getEntityFetchGroup(FetchGroup fetchGroup)INTERNAL: Returns entity fetch group corresponding to the passed fetch group.booleanFetchGroupManager. isFullFetchGroup(FetchGroup fetchGroup)PUBLIC: Indicates whether the passed fetch group contains all the attributes, no nesting.booleanFetchGroupManager. isMinimalFetchGroup(FetchGroup fetchGroup)PUBLIC: Indicates whether the passed fetch group is minimal.booleanFetchGroupManager. isObjectValidForFetchGroup(Object object, FetchGroup fetchGroup)INTERNAL: Return if the cached object data is sufficiently valid against a fetch groupvoidFetchGroupManager. prepareAndVerify(FetchGroup fetchGroup)PUBLIC: Add primary key and version attributes to the passed fetch group and all the fetch group it contains.protected voidFetchGroupManager. prepareAndVerifyInternal(FetchGroup fetchGroup, String attributePrefix)INTERNAL: Add primary key and version attributes to the passed fetch group and all the fetch group it contains.voidFetchGroupManager. setDefaultFetchGroup(FetchGroup newDefaultFetchGroup)Set the descriptor-level default fetch group.voidFetchGroupManager. setObjectFetchGroup(Object source, FetchGroup fetchGroup, AbstractSession session)INTERNAL: Set fetch group into the object.FetchGroupFetchGroupManager. unionFetchGroups(FetchGroup first, FetchGroup second)INTERNAL: Union two fetch groups. -
Uses of FetchGroup in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type FetchGroup Modifier and Type Method Description static ValidationExceptionValidationException. fetchGroupHasWrongReferenceAttribute(FetchGroup fetchGroup, String attributeName)PUBLIC: Fetch group has an attribute that references nested fetch group but the corresponding mapping is either not ForeignReferenceMapping or does not have reference descriptor.static ValidationExceptionValidationException. fetchGroupHasWrongReferenceClass(FetchGroup fetchGroup, String attributeName)PUBLIC: Fetch group has an attribute that references nested fetch group but target class does not support fetch groups.. -
Uses of FetchGroup in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type FetchGroup 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. -
Uses of FetchGroup in org.eclipse.persistence.internal.dynamic
Methods in org.eclipse.persistence.internal.dynamic that return FetchGroup Modifier and Type Method Description FetchGroupDynamicEntityImpl. _persistence_getFetchGroup()Methods in org.eclipse.persistence.internal.dynamic with parameters of type FetchGroup Modifier and Type Method Description voidDynamicEntityImpl. _persistence_setFetchGroup(FetchGroup group) -
Uses of FetchGroup in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm with parameters of type FetchGroup 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. -
Uses of FetchGroup in org.eclipse.persistence.internal.queries
Subclasses of FetchGroup in org.eclipse.persistence.internal.queries Modifier and Type Class Description classEntityFetchGroupEntityFetchGroup reflects the state of the object.Methods in org.eclipse.persistence.internal.queries with parameters of type FetchGroup Modifier and Type Method Description AttributeItemAttributeItem. toFetchGroup(Map<AttributeGroup,FetchGroup> cloneMap, FetchGroup parentClone)Method parameters in org.eclipse.persistence.internal.queries with type arguments of type FetchGroup Modifier and Type Method Description AttributeItemAttributeItem. toFetchGroup(Map<AttributeGroup,FetchGroup> cloneMap, FetchGroup parentClone)Constructors in org.eclipse.persistence.internal.queries with parameters of type FetchGroup Constructor Description EntityFetchGroup(FetchGroup fetchGroup)EntityFetchGroup(FetchGroup fetchGroup, String attributeName) -
Uses of FetchGroup in org.eclipse.persistence.queries
Fields in org.eclipse.persistence.queries declared as FetchGroup Modifier and Type Field Description protected FetchGroupObjectLevelReadQuery. fetchGroupFetchGroupspecified on this query.Methods in org.eclipse.persistence.queries that return FetchGroup Modifier and Type Method Description FetchGroupFetchGroupTracker. _persistence_getFetchGroup()Return the fetch group being trackedFetchGroupFetchGroup. clone()FetchGroupObjectBuildingQuery. getExecutionFetchGroup()INTERNAL: Returns FetchGroup that will be applied to the query.FetchGroupObjectBuildingQuery. getExecutionFetchGroup(ClassDescriptor descriptor)INTERNAL: Returns FetchGroup that will be applied to the query.FetchGroupObjectLevelReadQuery. getExecutionFetchGroup()INTERNAL: Returns FetchGroup that will be applied to the query.FetchGroupObjectLevelReadQuery. getExecutionFetchGroup(ClassDescriptor descriptor)INTERNAL: Returns FetchGroup that will be applied to the query.FetchGroupObjectLevelReadQuery. getFetchGroup()Return the fetch group set in the query.FetchGroupFetchGroup. getGroup(String attributeNameOrPath)Returns FetchGroup corresponding to the passed (possibly nested) attribute.protected FetchGroupFetchGroup. newGroup(String name, CoreAttributeGroup parent)FetchGroupAttributeGroup. toFetchGroup()Convert the group to a FetchGroup for usage with queries.FetchGroupAttributeGroup. toFetchGroup(Map<AttributeGroup,FetchGroup> cloneMap)INTERNAL: This method is used internally when converting to a copy group.Methods in org.eclipse.persistence.queries with parameters of type FetchGroup Modifier and Type Method Description voidFetchGroupTracker. _persistence_setFetchGroup(FetchGroup group)Set a fetch group to be tracked.voidObjectLevelReadQuery. setFetchGroup(FetchGroup newFetchGroup)Set a dynamic (use case) fetch group to the query.booleanObjectBuildingQuery. shouldReadMapping(DatabaseMapping mapping, FetchGroup fetchGroup)INTERNAL: Check if the mapping is part of the partial attributes.booleanObjectLevelReadQuery. shouldReadMapping(DatabaseMapping mapping, FetchGroup fetchGroup)INTERNAL: Check if the mapping is part of the partial attributes.Method parameters in org.eclipse.persistence.queries with type arguments of type FetchGroup Modifier and Type Method Description FetchGroupAttributeGroup. toFetchGroup(Map<AttributeGroup,FetchGroup> cloneMap)INTERNAL: This method is used internally when converting to a copy group. -
Uses of FetchGroup in org.eclipse.persistence.sessions.factories
Methods in org.eclipse.persistence.sessions.factories with parameters of type FetchGroup Modifier and Type Method Description protected voidProjectClassGenerator. addFetchGroupLines(NonreflectiveMethodDefinition method, FetchGroup fetchGroup, String fetchGroupIdentifier)
-