|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
Constructor Summary | |
---|---|
JDBCFetchPlanImpl(org.apache.openjpa.kernel.FetchConfiguration fetch)
Constructor; supply delegate. |
Method Summary | |
---|---|
JDBCFetchPlan |
addFetchGroup(java.lang.String group)
|
JDBCFetchPlan |
addFetchGroups(java.util.Collection groups)
|
JDBCFetchPlan |
addFetchGroups(java.lang.String... groups)
|
JDBCFetchPlan |
addField(java.lang.Class cls,
java.lang.String field)
|
JDBCFetchPlan |
addField(java.lang.String field)
|
JDBCFetchPlan |
addFields(java.lang.Class cls,
java.util.Collection fields)
|
JDBCFetchPlan |
addFields(java.lang.Class cls,
java.lang.String... fields)
|
JDBCFetchPlan |
addFields(java.util.Collection fields)
|
JDBCFetchPlan |
addFields(java.lang.String... fields)
|
JDBCFetchPlan |
clearFetchGroups()
|
JDBCFetchPlan |
clearFields()
|
FetchMode |
getEagerFetchMode()
Eager fetch mode in loading relations. |
FetchDirection |
getFetchDirection()
Result set fetch direction. |
IsolationLevel |
getIsolation()
The isolation level for queries issued to the database. |
JoinSyntax |
getJoinSyntax()
SQL join syntax. |
LRSSizeAlgorithm |
getLRSSizeAlgorithm()
How to determine the size of a large result set. |
ResultSetType |
getResultSetType()
Type of JDBC result set to use for query results. |
FetchMode |
getSubclassFetchMode()
Eager fetch mode in loading subclasses. |
protected org.apache.openjpa.kernel.DelegatingFetchConfiguration |
newDelegatingFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration fetch)
|
JDBCFetchPlan |
removeFetchGroup(java.lang.String group)
|
JDBCFetchPlan |
removeFetchGroups(java.util.Collection groups)
|
JDBCFetchPlan |
removeFetchGroups(java.lang.String... groups)
|
JDBCFetchPlan |
removeField(java.lang.Class cls,
java.lang.String field)
|
JDBCFetchPlan |
removeField(java.lang.String field)
|
JDBCFetchPlan |
removeFields(java.lang.Class cls,
java.util.Collection fields)
|
JDBCFetchPlan |
removeFields(java.lang.Class cls,
java.lang.String... fields)
|
JDBCFetchPlan |
removeFields(java.util.Collection fields)
|
JDBCFetchPlan |
removeFields(java.lang.String... fields)
|
JDBCFetchPlan |
resetFetchGroups()
|
JDBCFetchPlanImpl |
setEagerFetchMode(FetchMode mode)
Eager fetch mode in loading relations. |
JDBCFetchPlan |
setFetchBatchSize(int fetchBatchSize)
|
JDBCFetchPlanImpl |
setFetchDirection(FetchDirection direction)
Result set fetch direction. |
JDBCFetchPlan |
setIsolation(IsolationLevel level)
The isolation level for queries issued to the database. |
JDBCFetchPlanImpl |
setJoinSyntax(JoinSyntax syntax)
SQL join syntax. |
JDBCFetchPlan |
setLockTimeout(int timeout)
|
JDBCFetchPlanImpl |
setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
How to determine the size of a large result set. |
JDBCFetchPlan |
setMaxFetchDepth(int depth)
|
JDBCFetchPlan |
setQueryResultCacheEnabled(boolean cache)
|
JDBCFetchPlan |
setReadLockMode(javax.persistence.LockModeType mode)
|
JDBCFetchPlanImpl |
setResultSetType(ResultSetType type)
Type of JDBC result set to use for query results. |
JDBCFetchPlanImpl |
setSubclassFetchMode(FetchMode mode)
Eager fetch mode in loading subclasses. |
JDBCFetchPlan |
setWriteLockMode(javax.persistence.LockModeType mode)
|
Methods inherited from class org.apache.openjpa.persistence.FetchPlanImpl |
---|
equals, getDelegate, getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCacheEnabled, getReadLockMode, getWriteLockMode, hasField, hasField, hashCode |
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 |
---|
getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCacheEnabled, getReadLockMode, getWriteLockMode, hasField, hasField |
Constructor Detail |
---|
public JDBCFetchPlanImpl(org.apache.openjpa.kernel.FetchConfiguration fetch)
Method Detail |
---|
protected org.apache.openjpa.kernel.DelegatingFetchConfiguration newDelegatingFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration fetch)
newDelegatingFetchConfiguration
in class org.apache.openjpa.persistence.FetchPlanImpl
public FetchMode getEagerFetchMode()
JDBCFetchPlan
getEagerFetchMode
in interface JDBCFetchPlan
public JDBCFetchPlanImpl setEagerFetchMode(FetchMode mode)
JDBCFetchPlan
setEagerFetchMode
in interface JDBCFetchPlan
public FetchMode getSubclassFetchMode()
JDBCFetchPlan
getSubclassFetchMode
in interface JDBCFetchPlan
public JDBCFetchPlanImpl setSubclassFetchMode(FetchMode mode)
JDBCFetchPlan
setSubclassFetchMode
in interface JDBCFetchPlan
public ResultSetType getResultSetType()
JDBCFetchPlan
getResultSetType
in interface JDBCFetchPlan
public JDBCFetchPlanImpl setResultSetType(ResultSetType type)
JDBCFetchPlan
setResultSetType
in interface JDBCFetchPlan
public FetchDirection getFetchDirection()
JDBCFetchPlan
getFetchDirection
in interface JDBCFetchPlan
public JDBCFetchPlanImpl setFetchDirection(FetchDirection direction)
JDBCFetchPlan
setFetchDirection
in interface JDBCFetchPlan
public LRSSizeAlgorithm getLRSSizeAlgorithm()
JDBCFetchPlan
getLRSSizeAlgorithm
in interface JDBCFetchPlan
public JDBCFetchPlanImpl setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
JDBCFetchPlan
setLRSSizeAlgorithm
in interface JDBCFetchPlan
public JoinSyntax getJoinSyntax()
JDBCFetchPlan
getJoinSyntax
in interface JDBCFetchPlan
public JDBCFetchPlanImpl setJoinSyntax(JoinSyntax syntax)
JDBCFetchPlan
setJoinSyntax
in interface JDBCFetchPlan
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
public JDBCFetchPlan addFetchGroup(java.lang.String group)
addFetchGroup
in interface org.apache.openjpa.persistence.FetchPlan
addFetchGroup
in interface JDBCFetchPlan
addFetchGroup
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addFetchGroups(java.util.Collection groups)
addFetchGroups
in interface org.apache.openjpa.persistence.FetchPlan
addFetchGroups
in interface JDBCFetchPlan
addFetchGroups
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addFetchGroups(java.lang.String... groups)
addFetchGroups
in interface org.apache.openjpa.persistence.FetchPlan
addFetchGroups
in interface JDBCFetchPlan
addFetchGroups
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addField(java.lang.Class cls, java.lang.String field)
addField
in interface org.apache.openjpa.persistence.FetchPlan
addField
in interface JDBCFetchPlan
addField
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addField(java.lang.String field)
addField
in interface org.apache.openjpa.persistence.FetchPlan
addField
in interface JDBCFetchPlan
addField
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addFields(java.lang.Class cls, java.util.Collection fields)
addFields
in interface org.apache.openjpa.persistence.FetchPlan
addFields
in interface JDBCFetchPlan
addFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addFields(java.lang.Class cls, java.lang.String... fields)
addFields
in interface org.apache.openjpa.persistence.FetchPlan
addFields
in interface JDBCFetchPlan
addFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addFields(java.util.Collection fields)
addFields
in interface org.apache.openjpa.persistence.FetchPlan
addFields
in interface JDBCFetchPlan
addFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan addFields(java.lang.String... fields)
addFields
in interface org.apache.openjpa.persistence.FetchPlan
addFields
in interface JDBCFetchPlan
addFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan clearFetchGroups()
clearFetchGroups
in interface org.apache.openjpa.persistence.FetchPlan
clearFetchGroups
in interface JDBCFetchPlan
clearFetchGroups
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan clearFields()
clearFields
in interface org.apache.openjpa.persistence.FetchPlan
clearFields
in interface JDBCFetchPlan
clearFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeFetchGroup(java.lang.String group)
removeFetchGroup
in interface org.apache.openjpa.persistence.FetchPlan
removeFetchGroup
in interface JDBCFetchPlan
removeFetchGroup
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeFetchGroups(java.util.Collection groups)
removeFetchGroups
in interface org.apache.openjpa.persistence.FetchPlan
removeFetchGroups
in interface JDBCFetchPlan
removeFetchGroups
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeFetchGroups(java.lang.String... groups)
removeFetchGroups
in interface org.apache.openjpa.persistence.FetchPlan
removeFetchGroups
in interface JDBCFetchPlan
removeFetchGroups
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeField(java.lang.Class cls, java.lang.String field)
removeField
in interface org.apache.openjpa.persistence.FetchPlan
removeField
in interface JDBCFetchPlan
removeField
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeField(java.lang.String field)
removeField
in interface org.apache.openjpa.persistence.FetchPlan
removeField
in interface JDBCFetchPlan
removeField
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeFields(java.lang.Class cls, java.util.Collection fields)
removeFields
in interface org.apache.openjpa.persistence.FetchPlan
removeFields
in interface JDBCFetchPlan
removeFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeFields(java.lang.Class cls, java.lang.String... fields)
removeFields
in interface org.apache.openjpa.persistence.FetchPlan
removeFields
in interface JDBCFetchPlan
removeFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeFields(java.util.Collection fields)
removeFields
in interface org.apache.openjpa.persistence.FetchPlan
removeFields
in interface JDBCFetchPlan
removeFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan removeFields(java.lang.String... fields)
removeFields
in interface org.apache.openjpa.persistence.FetchPlan
removeFields
in interface JDBCFetchPlan
removeFields
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan resetFetchGroups()
resetFetchGroups
in interface org.apache.openjpa.persistence.FetchPlan
resetFetchGroups
in interface JDBCFetchPlan
resetFetchGroups
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan setQueryResultCacheEnabled(boolean cache)
setQueryResultCacheEnabled
in interface org.apache.openjpa.persistence.FetchPlan
setQueryResultCacheEnabled
in interface JDBCFetchPlan
setQueryResultCacheEnabled
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan setFetchBatchSize(int fetchBatchSize)
setFetchBatchSize
in interface org.apache.openjpa.persistence.FetchPlan
setFetchBatchSize
in interface JDBCFetchPlan
setFetchBatchSize
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan setLockTimeout(int timeout)
setLockTimeout
in interface org.apache.openjpa.persistence.FetchPlan
setLockTimeout
in interface JDBCFetchPlan
setLockTimeout
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan setMaxFetchDepth(int depth)
setMaxFetchDepth
in interface org.apache.openjpa.persistence.FetchPlan
setMaxFetchDepth
in interface JDBCFetchPlan
setMaxFetchDepth
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan setReadLockMode(javax.persistence.LockModeType mode)
setReadLockMode
in interface org.apache.openjpa.persistence.FetchPlan
setReadLockMode
in interface JDBCFetchPlan
setReadLockMode
in class org.apache.openjpa.persistence.FetchPlanImpl
public JDBCFetchPlan setWriteLockMode(javax.persistence.LockModeType mode)
setWriteLockMode
in interface org.apache.openjpa.persistence.FetchPlan
setWriteLockMode
in interface JDBCFetchPlan
setWriteLockMode
in class org.apache.openjpa.persistence.FetchPlanImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |