|
|||||||||
| 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.FetchPlanImplpublic FetchMode getEagerFetchMode()
JDBCFetchPlan
getEagerFetchMode in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setEagerFetchMode(FetchMode mode)
JDBCFetchPlan
setEagerFetchMode in interface JDBCFetchPlanpublic FetchMode getSubclassFetchMode()
JDBCFetchPlan
getSubclassFetchMode in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setSubclassFetchMode(FetchMode mode)
JDBCFetchPlan
setSubclassFetchMode in interface JDBCFetchPlanpublic ResultSetType getResultSetType()
JDBCFetchPlan
getResultSetType in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setResultSetType(ResultSetType type)
JDBCFetchPlan
setResultSetType in interface JDBCFetchPlanpublic FetchDirection getFetchDirection()
JDBCFetchPlan
getFetchDirection in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setFetchDirection(FetchDirection direction)
JDBCFetchPlan
setFetchDirection in interface JDBCFetchPlanpublic LRSSizeAlgorithm getLRSSizeAlgorithm()
JDBCFetchPlan
getLRSSizeAlgorithm in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
JDBCFetchPlan
setLRSSizeAlgorithm in interface JDBCFetchPlanpublic JoinSyntax getJoinSyntax()
JDBCFetchPlan
getJoinSyntax in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setJoinSyntax(JoinSyntax syntax)
JDBCFetchPlan
setJoinSyntax in interface JDBCFetchPlanpublic IsolationLevel getIsolation()
JDBCFetchPlanopenjpa.jdbc.TransactionIsolation
value.
getIsolation in interface JDBCFetchPlanpublic JDBCFetchPlan setIsolation(IsolationLevel level)
JDBCFetchPlanopenjpa.jdbc.TransactionIsolation
value.
setIsolation in interface JDBCFetchPlanpublic JDBCFetchPlan addFetchGroup(java.lang.String group)
addFetchGroup in interface org.apache.openjpa.persistence.FetchPlanaddFetchGroup in interface JDBCFetchPlanaddFetchGroup in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan addFetchGroups(java.util.Collection groups)
addFetchGroups in interface org.apache.openjpa.persistence.FetchPlanaddFetchGroups in interface JDBCFetchPlanaddFetchGroups in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan addFetchGroups(java.lang.String... groups)
addFetchGroups in interface org.apache.openjpa.persistence.FetchPlanaddFetchGroups in interface JDBCFetchPlanaddFetchGroups 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.FetchPlanaddField in interface JDBCFetchPlanaddField in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan addField(java.lang.String field)
addField in interface org.apache.openjpa.persistence.FetchPlanaddField in interface JDBCFetchPlanaddField 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.FetchPlanaddFields in interface JDBCFetchPlanaddFields 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.FetchPlanaddFields in interface JDBCFetchPlanaddFields in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan addFields(java.util.Collection fields)
addFields in interface org.apache.openjpa.persistence.FetchPlanaddFields in interface JDBCFetchPlanaddFields in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan addFields(java.lang.String... fields)
addFields in interface org.apache.openjpa.persistence.FetchPlanaddFields in interface JDBCFetchPlanaddFields in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan clearFetchGroups()
clearFetchGroups in interface org.apache.openjpa.persistence.FetchPlanclearFetchGroups in interface JDBCFetchPlanclearFetchGroups in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan clearFields()
clearFields in interface org.apache.openjpa.persistence.FetchPlanclearFields in interface JDBCFetchPlanclearFields in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan removeFetchGroup(java.lang.String group)
removeFetchGroup in interface org.apache.openjpa.persistence.FetchPlanremoveFetchGroup in interface JDBCFetchPlanremoveFetchGroup in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan removeFetchGroups(java.util.Collection groups)
removeFetchGroups in interface org.apache.openjpa.persistence.FetchPlanremoveFetchGroups in interface JDBCFetchPlanremoveFetchGroups in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan removeFetchGroups(java.lang.String... groups)
removeFetchGroups in interface org.apache.openjpa.persistence.FetchPlanremoveFetchGroups in interface JDBCFetchPlanremoveFetchGroups 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.FetchPlanremoveField in interface JDBCFetchPlanremoveField in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan removeField(java.lang.String field)
removeField in interface org.apache.openjpa.persistence.FetchPlanremoveField in interface JDBCFetchPlanremoveField 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.FetchPlanremoveFields in interface JDBCFetchPlanremoveFields 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.FetchPlanremoveFields in interface JDBCFetchPlanremoveFields in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan removeFields(java.util.Collection fields)
removeFields in interface org.apache.openjpa.persistence.FetchPlanremoveFields in interface JDBCFetchPlanremoveFields in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan removeFields(java.lang.String... fields)
removeFields in interface org.apache.openjpa.persistence.FetchPlanremoveFields in interface JDBCFetchPlanremoveFields in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan resetFetchGroups()
resetFetchGroups in interface org.apache.openjpa.persistence.FetchPlanresetFetchGroups in interface JDBCFetchPlanresetFetchGroups in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan setQueryResultCacheEnabled(boolean cache)
setQueryResultCacheEnabled in interface org.apache.openjpa.persistence.FetchPlansetQueryResultCacheEnabled in interface JDBCFetchPlansetQueryResultCacheEnabled in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan setFetchBatchSize(int fetchBatchSize)
setFetchBatchSize in interface org.apache.openjpa.persistence.FetchPlansetFetchBatchSize in interface JDBCFetchPlansetFetchBatchSize in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan setLockTimeout(int timeout)
setLockTimeout in interface org.apache.openjpa.persistence.FetchPlansetLockTimeout in interface JDBCFetchPlansetLockTimeout in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan setMaxFetchDepth(int depth)
setMaxFetchDepth in interface org.apache.openjpa.persistence.FetchPlansetMaxFetchDepth in interface JDBCFetchPlansetMaxFetchDepth in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan setReadLockMode(javax.persistence.LockModeType mode)
setReadLockMode in interface org.apache.openjpa.persistence.FetchPlansetReadLockMode in interface JDBCFetchPlansetReadLockMode in class org.apache.openjpa.persistence.FetchPlanImplpublic JDBCFetchPlan setWriteLockMode(javax.persistence.LockModeType mode)
setWriteLockMode in interface org.apache.openjpa.persistence.FetchPlansetWriteLockMode in interface JDBCFetchPlansetWriteLockMode in class org.apache.openjpa.persistence.FetchPlanImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||