|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.persistence.FetchPlanImpl org.apache.openjpa.persistence.jdbc.JDBCFetchPlanImpl
public class JDBCFetchPlanImpl
JDBC extensions to the fetch plan.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.persistence.FetchPlan |
---|
DEFAULT, DEPTH_INFINITE, GROUP_ALL, GROUP_DEFAULT |
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 |
Constructor Summary | |
---|---|
JDBCFetchPlanImpl(FetchConfiguration fetch)
Constructor; supply delegate. |
Method Summary | |
---|---|
int |
getEagerFetchMode()
Eager fetch mode in loading relations. |
int |
getFetchDirection()
Result set fetch direction. |
IsolationLevel |
getIsolation()
The isolation level for queries issued to the database. |
int |
getJoinSyntax()
SQL join syntax. |
int |
getLRSSize()
How to determine the size of a large result set. |
int |
getResultSetType()
Type of JDBC result set to use for query results. |
int |
getSubclassFetchMode()
Eager fetch mode in loading subclasses. |
protected DelegatingFetchConfiguration |
newDelegatingFetchConfiguration(FetchConfiguration fetch)
Create a new exception-translating delegating fetch configuration. |
JDBCFetchPlanImpl |
setEagerFetchMode(int mode)
Eager fetch mode in loading relations. |
JDBCFetchPlanImpl |
setFetchDirection(int direction)
Result set fetch direction. |
JDBCFetchPlan |
setIsolation(IsolationLevel level)
The isolation level for queries issued to the database. |
JDBCFetchPlanImpl |
setJoinSyntax(int syntax)
SQL join syntax. |
JDBCFetchPlanImpl |
setLRSSize(int lrsSize)
How to determine the size of a large result set. |
JDBCFetchPlanImpl |
setResultSetType(int type)
Type of JDBC result set to use for query results. |
JDBCFetchPlanImpl |
setSubclassFetchMode(int mode)
Eager fetch mode in loading subclasses. |
Methods inherited from class org.apache.openjpa.persistence.FetchPlanImpl |
---|
addFetchGroup, addFetchGroups, addFetchGroups, addField, addField, addFields, addFields, addFields, addFields, clearFetchGroups, clearFields, equals, getDelegate, getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getReadLockMode, getWriteLockMode, hasField, hasField, hashCode, removeFetchGroup, removeFetchGroups, removeFetchGroups, removeField, removeField, removeFields, removeFields, removeFields, removeFields, resetFetchGroups, setFetchBatchSize, setLockTimeout, setMaxFetchDepth, setQueryResultCache, setReadLockMode, setWriteLockMode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.openjpa.persistence.FetchPlan |
---|
addFetchGroup, addFetchGroups, addFetchGroups, addField, addField, addFields, addFields, addFields, addFields, clearFetchGroups, clearFields, getDelegate, getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getReadLockMode, getWriteLockMode, hasField, hasField, removeFetchGroup, removeFetchGroups, removeFetchGroups, removeField, removeField, removeFields, removeFields, removeFields, removeFields, resetFetchGroups, setFetchBatchSize, setLockTimeout, setMaxFetchDepth, setQueryResultCache, setReadLockMode, setWriteLockMode |
Constructor Detail |
---|
public JDBCFetchPlanImpl(FetchConfiguration fetch)
Method Detail |
---|
protected DelegatingFetchConfiguration newDelegatingFetchConfiguration(FetchConfiguration fetch)
FetchPlanImpl
newDelegatingFetchConfiguration
in class FetchPlanImpl
public int getEagerFetchMode()
JDBCFetchPlan
getEagerFetchMode
in interface JDBCFetchPlan
EagerFetchModes
public JDBCFetchPlanImpl setEagerFetchMode(int mode)
JDBCFetchPlan
setEagerFetchMode
in interface JDBCFetchPlan
EagerFetchModes
public int getSubclassFetchMode()
JDBCFetchPlan
getSubclassFetchMode
in interface JDBCFetchPlan
EagerFetchModes
public JDBCFetchPlanImpl setSubclassFetchMode(int mode)
JDBCFetchPlan
setSubclassFetchMode
in interface JDBCFetchPlan
EagerFetchModes
public int getResultSetType()
JDBCFetchPlan
getResultSetType
in interface JDBCFetchPlan
ResultSet
public JDBCFetchPlanImpl setResultSetType(int type)
JDBCFetchPlan
setResultSetType
in interface JDBCFetchPlan
ResultSet
public int getFetchDirection()
JDBCFetchPlan
getFetchDirection
in interface JDBCFetchPlan
ResultSet
public JDBCFetchPlanImpl setFetchDirection(int direction)
JDBCFetchPlan
setFetchDirection
in interface JDBCFetchPlan
ResultSet
public int getLRSSize()
JDBCFetchPlan
getLRSSize
in interface JDBCFetchPlan
LRSSizes
public JDBCFetchPlanImpl setLRSSize(int lrsSize)
JDBCFetchPlan
setLRSSize
in interface JDBCFetchPlan
LRSSizes
public int getJoinSyntax()
JDBCFetchPlan
getJoinSyntax
in interface JDBCFetchPlan
JoinSyntaxes
public JDBCFetchPlanImpl setJoinSyntax(int syntax)
JDBCFetchPlan
setJoinSyntax
in interface JDBCFetchPlan
JoinSyntaxes
public IsolationLevel getIsolation()
JDBCFetchPlan
openjpa.jdbc.TransactionIsolation
value.
getIsolation
in interface JDBCFetchPlan
public JDBCFetchPlan setIsolation(IsolationLevel level)
JDBCFetchPlan
openjpa.jdbc.TransactionIsolation
value.
setIsolation
in interface JDBCFetchPlan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |