|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.mim.lib.SpeedoFetchPlan
public class SpeedoFetchPlan
Field Summary |
---|
Fields inherited from interface org.objectweb.speedo.mim.api.FetchPlanItf |
---|
ALL, DEFAULT, FETCH_SIZE_GREEDY, FETCH_SIZE_OPTIMAL, NONE, VALUES |
Constructor Summary | |
---|---|
SpeedoFetchPlan()
|
|
SpeedoFetchPlan(java.lang.String fgName)
|
Method Summary | |
---|---|
FetchPlanItf |
speedoAddGroup(java.lang.String fetchGroupName)
Add a group into the fetch plan. |
FetchPlanItf |
speedoClearGroups()
Remove all active groups leaving no active fetch group. |
int |
speedoGetFetchSize()
Return the fetch size, or FetchPlanItf.FETCH_SIZE_OPTIMAL if not set,
or FetchPlanItf.FETCH_SIZE_GREEDY to fetch all. |
java.util.Collection |
speedoGetGroups()
Return the names of all active fetch groups. |
FetchPlanItf |
speedoRemoveGroup(java.lang.String fetchGroupName)
Remove a group from the fetch plan. |
FetchPlanItf |
speedoSetFetchSize(int fetchSize)
Set the fetch size for large result set support. |
FetchPlanItf |
speedoSetGroup(java.lang.String fetchGroupName)
Set the active fetch groups to the single named fetch group. |
FetchPlanItf |
speedoSetGroups(java.util.Collection fetchGroupNames)
Set a collection of groups. |
FetchPlanItf |
speedoSetGroups(java.lang.String[] fetchGroupNames)
Set a collection of groups. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpeedoFetchPlan()
public SpeedoFetchPlan(java.lang.String fgName)
Method Detail |
---|
public FetchPlanItf speedoAddGroup(java.lang.String fetchGroupName)
speedoAddGroup
in interface FetchPlanItf
public FetchPlanItf speedoRemoveGroup(java.lang.String fetchGroupName)
speedoRemoveGroup
in interface FetchPlanItf
public java.util.Collection speedoGetGroups()
FetchPlanItf
speedoGetGroups
in interface FetchPlanItf
public FetchPlanItf speedoSetGroups(java.util.Collection fetchGroupNames)
FetchPlanItf
speedoSetGroups
in interface FetchPlanItf
fetchGroupNames
- a collection of names of fetch groups
public FetchPlanItf speedoClearGroups()
FetchPlanItf
speedoClearGroups
in interface FetchPlanItf
public FetchPlanItf speedoSetGroup(java.lang.String fetchGroupName)
FetchPlanItf
speedoSetGroup
in interface FetchPlanItf
fetchGroupName
- the single fetch group
public FetchPlanItf speedoSetGroups(java.lang.String[] fetchGroupNames)
FetchPlanItf
speedoSetGroups
in interface FetchPlanItf
fetchGroupNames
- a String array of names of fetch groups
public FetchPlanItf speedoSetFetchSize(int fetchSize)
FetchPlanItf
FetchPlanItf.FETCH_SIZE_OPTIMAL
to unset, and FetchPlanItf.FETCH_SIZE_GREEDY
to force loading of everything.
speedoSetFetchSize
in interface FetchPlanItf
fetchSize
- the fetch size
public int speedoGetFetchSize()
FetchPlanItf
FetchPlanItf.FETCH_SIZE_OPTIMAL
if not set,
or FetchPlanItf.FETCH_SIZE_GREEDY
to fetch all.
speedoGetFetchSize
in interface FetchPlanItf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |