Purpose: The fetch group tracker interface provides a set of APIs which the domain object must implement, in order to take advantage of the EclipseLink fetch group performance enhancement feature.
org.eclipse.persistence.queries.FetchGroup
| Modifier and Type | Method and Description |
|---|---|
| public FetchGroup | |
| public Session | |
| public boolean | _persistence_isAttributeFetched(String attribute)
Return true if the attribute is in the fetch group being tracked. |
| public void | _persistence_resetFetchGroup()
Reset all attributes of the tracked object to the unfetched state with initial default values. |
| public void | |
| public void | |
| public void | _persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup)
Set true if the fetch group attributes should be refreshed. |
| public boolean | _persistence_shouldRefreshFetchGroup()
Return true if the fetch group attributes should be refreshed. |
| _persistence_getFetchGroup | back to summary |
|---|---|
| public FetchGroup _persistence_getFetchGroup() Return the fetch group being tracked | |
| _persistence_getSession | back to summary |
|---|---|
| public Session _persistence_getSession() Return the session for the object. | |
| _persistence_isAttributeFetched | back to summary |
|---|---|
| public boolean _persistence_isAttributeFetched(String attribute) Return true if the attribute is in the fetch group being tracked. | |
| _persistence_resetFetchGroup | back to summary |
|---|---|
| public void _persistence_resetFetchGroup() Reset all attributes of the tracked object to the unfetched state with initial default values. | |
| _persistence_setFetchGroup | back to summary |
|---|---|
| public void _persistence_setFetchGroup(FetchGroup group) Set a fetch group to be tracked. | |
| _persistence_setSession | back to summary |
|---|---|
| public void _persistence_setSession(Session session) Set true if the fetch group attributes should be refreshed | |
| _persistence_setShouldRefreshFetchGroup | back to summary |
|---|---|
| public void _persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup) Set true if the fetch group attributes should be refreshed. | |
| _persistence_shouldRefreshFetchGroup | back to summary |
|---|---|
| public boolean _persistence_shouldRefreshFetchGroup() Return true if the fetch group attributes should be refreshed. | |