|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JDBCFetchPlan
JDBC extensions to the fetch plan.
Field Summary |
---|
Fields inherited from interface kodo.jdo.KodoFetchPlan |
---|
DEFAULT_VALUE, DETACH_ALL_FIELDS |
Fields inherited from interface javax.jdo.FetchPlan |
---|
ALL, DEFAULT, DETACH_LOAD_FIELDS, DETACH_UNLOAD_FIELDS, FETCH_SIZE_GREEDY, FETCH_SIZE_OPTIMAL |
Fields inherited from interface org.apache.openjpa.kernel.LockLevels |
---|
LOCK_NONE, LOCK_READ, LOCK_WRITE |
Fields inherited from interface org.apache.openjpa.kernel.QueryFlushModes |
---|
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION |
Fields inherited from interface org.apache.openjpa.jdbc.kernel.EagerFetchModes |
---|
EAGER_JOIN, EAGER_NONE, EAGER_PARALLEL |
Fields inherited from interface org.apache.openjpa.jdbc.kernel.LRSSizes |
---|
SIZE_LAST, SIZE_QUERY, SIZE_UNKNOWN |
Fields inherited from interface org.apache.openjpa.jdbc.sql.JoinSyntaxes |
---|
SYNTAX_DATABASE, SYNTAX_SQL92, SYNTAX_TRADITIONAL |
Method Summary | |
---|---|
JDBCFetchPlan |
addJoin(Class cls,
String field)
Adds field to the set of field names to
join when loading objects. |
JDBCFetchPlan |
addJoin(String field)
Adds field to the set of fully-qualified field names to
join when loading objects. |
JDBCFetchPlan |
clearJoins()
Clears the set of field names to join when loading data. |
int |
getEagerFetchMode()
Return the eager fetch mode. |
int |
getFetchDirection()
The fetch direction to use as a constant from ResultSet . |
Collection |
getJoins()
Returns the names of the eager join that this component will use when loading objects. |
int |
getJoinSyntax()
The join syntax to use. |
int |
getLRSSize()
The large result set size mode to use. |
int |
getResultSetType()
The result set type to use as a constant from ResultSet . |
int |
getSubclassFetchMode()
Return the subclass fetch mode. |
boolean |
hasJoin(Class cls,
String field)
Return true if the given join has been added. |
JDBCFetchPlan |
removeJoin(Class cls,
String field)
Remove the given field from the joins. |
JDBCFetchPlan |
removeJoin(String field)
Remove the given fully-qualified field from the joins. |
JDBCFetchPlan |
setEagerFetchMode(int mode)
Set the eager fetch mode. |
JDBCFetchPlan |
setFetchDirection(int direction)
The fetch direction to use as a constant from ResultSet . |
JDBCFetchPlan |
setJoins(Class cls,
Collection fields)
Sets fields as the set of field names to
join when loading objects. |
JDBCFetchPlan |
setJoins(Class cls,
String[] fields)
Sets fields as the set of field names to
join when loading objects. |
JDBCFetchPlan |
setJoins(Collection fields)
Sets fields as the set of fully-qualified field names to
join when loading objects. |
JDBCFetchPlan |
setJoins(String[] fields)
Sets fields as the set of fully-qualified field names to
join when loading objects. |
JDBCFetchPlan |
setJoinSyntax(int syntax)
The join syntax to use. |
JDBCFetchPlan |
setLRSSize(int lrsSize)
The large result set size mode to use. |
JDBCFetchPlan |
setResultSetType(int type)
The result set type to use as a constant from ResultSet . |
JDBCFetchPlan |
setSubclassFetchMode(int mode)
Set the subclass fetch mode. |
Methods inherited from interface kodo.jdo.KodoFetchPlan |
---|
addField, addField, clearFields, getFields, getFlushBeforeQueries, getLockTimeout, getQueryResultCache, getReadLockLevel, getWriteLockLevel, hasField, removeField, removeField, resetGroups, setFields, setFields, setFields, setFields, setFlushBeforeQueries, setLockTimeout, setQueryResultCache, setReadLockLevel, setWriteLockLevel |
Methods inherited from interface javax.jdo.FetchPlan |
---|
addGroup, clearGroups, getDetachmentOptions, getDetachmentRootClasses, getDetachmentRoots, getFetchSize, getGroups, getMaxFetchDepth, removeGroup, setDetachmentOptions, setDetachmentRootClasses, setDetachmentRoots, setFetchSize, setGroup, setGroups, setGroups, setMaxFetchDepth |
Method Detail |
---|
int getEagerFetchMode()
openjpa.jdbc.EagerFetchMode
setting.
JDBCFetchPlan setEagerFetchMode(int mode)
openjpa.jdbc.EagerFetchMode
setting.
int getSubclassFetchMode()
openjpa.jdbc.SubclassFetchMode
setting.
JDBCFetchPlan setSubclassFetchMode(int mode)
openjpa.jdbc.SubclassFetchMode
setting.
int getResultSetType()
ResultSet
.
Defaults to the openjpa.jdbc.ResultSetType
setting.
JDBCFetchPlan setResultSetType(int type)
ResultSet
.
Defaults to the openjpa.jdbc.ResultSetType
setting.
int getFetchDirection()
ResultSet
.
Defaults to the openjpa.jdbc.FetchDirection
setting.
JDBCFetchPlan setFetchDirection(int direction)
ResultSet
.
Defaults to the openjpa.jdbc.FetchDirection
setting.
int getLRSSize()
openjpa.jdbc.LRSSize
setting.
JDBCFetchPlan setLRSSize(int lrsSize)
openjpa.jdbc.LRSSize
setting.
int getJoinSyntax()
JDBCFetchPlan setJoinSyntax(int syntax)
Collection getJoins()
boolean hasJoin(Class cls, String field)
JDBCFetchPlan addJoin(String field)
field
to the set of fully-qualified field names to
join when loading objects.
JDBCFetchPlan addJoin(Class cls, String field)
field
to the set of field names to
join when loading objects.
JDBCFetchPlan setJoins(String[] fields)
fields
as the set of fully-qualified field names to
join when loading objects.
JDBCFetchPlan setJoins(Class cls, String[] fields)
fields
as the set of field names to
join when loading objects.
JDBCFetchPlan setJoins(Collection fields)
fields
as the set of fully-qualified field names to
join when loading objects.
JDBCFetchPlan setJoins(Class cls, Collection fields)
fields
as the set of field names to
join when loading objects.
JDBCFetchPlan removeJoin(String field)
JDBCFetchPlan removeJoin(Class cls, String field)
JDBCFetchPlan clearJoins()
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |