setFetchSize(fetchSize) - JDO FetchPlan's method

Method
javax.jdo.FetchPlan
FetchPlan setFetchSize(
  int fetchSize
)

Set the fetch size for large result set support. Use FETCH_SIZE_OPTIMAL to unset, and FETCH_SIZE_GREEDY to force loading of everything.
Parameters:
fetchSize - the fetch size
Returns:
the FetchPlan
Since:
JDO 2.0