|
|||||||||
| 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 | |
|---|---|
static int |
EAGER_JOIN
Deprecated. use the FetchMode enum instead. |
static int |
EAGER_NONE
Deprecated. use the FetchMode enum instead. |
static int |
EAGER_PARALLEL
Deprecated. use the FetchMode enum instead. |
static int |
SIZE_LAST
Deprecated. use the LRSSizeAlgorithm enum instead. |
static int |
SIZE_QUERY
Deprecated. use the LRSSizeAlgorithm enum instead. |
static int |
SIZE_UNKNOWN
Deprecated. use the LRSSizeAlgorithm enum instead. |
static int |
SYNTAX_DATABASE
Deprecated. use the JoinSyntax enum instead. |
static int |
SYNTAX_SQL92
Deprecated. use the JoinSyntax enum instead. |
static int |
SYNTAX_TRADITIONAL
Deprecated. use the JoinSyntax enum instead. |
| Fields inherited from interface org.apache.openjpa.persistence.FetchPlan |
|---|
DEFAULT, DEPTH_INFINITE, GROUP_ALL, GROUP_DEFAULT |
| 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. |
int |
getLRSSize()
Deprecated. use getLRSSizeAlgorithm() instead. |
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. |
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()
|
JDBCFetchPlan |
setEagerFetchMode(FetchMode mode)
Eager fetch mode in loading relations. |
JDBCFetchPlan |
setEagerFetchMode(int mode)
Deprecated. use setEagerFetchMode(FetchMode) instead. |
JDBCFetchPlan |
setFetchBatchSize(int fetchBatchSize)
|
JDBCFetchPlan |
setFetchDirection(FetchDirection direction)
Result set fetch direction. |
JDBCFetchPlan |
setFetchDirection(int direction)
Deprecated. use setFetchDirection(FetchDirection) instead. |
JDBCFetchPlan |
setIsolation(IsolationLevel level)
The isolation level for queries issued to the database. |
JDBCFetchPlan |
setJoinSyntax(int syntax)
Deprecated. use setJoinSyntax(JoinSyntax) instead. |
JDBCFetchPlan |
setJoinSyntax(JoinSyntax syntax)
SQL join syntax. |
JDBCFetchPlan |
setLockTimeout(int timeout)
|
JDBCFetchPlan |
setLRSSize(int lrsSizeMode)
Deprecated. use setLRSSizeAlgorithm(LRSSizeAlgorithm) instead. |
JDBCFetchPlan |
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)
|
JDBCFetchPlan |
setResultSetType(int mode)
Deprecated. use setResultSetType(ResultSetType) instead. |
JDBCFetchPlan |
setResultSetType(ResultSetType type)
Type of JDBC result set to use for query results. |
JDBCFetchPlan |
setSubclassFetchMode(FetchMode mode)
Eager fetch mode in loading subclasses. |
JDBCFetchPlan |
setSubclassFetchMode(int mode)
Deprecated. use setSubclassFetchMode(FetchMode) instead. |
JDBCFetchPlan |
setWriteLockMode(javax.persistence.LockModeType mode)
|
| Methods inherited from interface org.apache.openjpa.persistence.FetchPlan |
|---|
getDelegate, getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getQueryResultCacheEnabled, getReadLockMode, getWriteLockMode, hasField, hasField, setQueryResultCache |
| Field Detail |
|---|
static final int EAGER_NONE
FetchMode enum instead.static final int EAGER_JOIN
FetchMode enum instead.static final int EAGER_PARALLEL
FetchMode enum instead.static final int SIZE_UNKNOWN
LRSSizeAlgorithm enum instead.static final int SIZE_LAST
LRSSizeAlgorithm enum instead.static final int SIZE_QUERY
LRSSizeAlgorithm enum instead.static final int SYNTAX_SQL92
JoinSyntax enum instead.static final int SYNTAX_TRADITIONAL
JoinSyntax enum instead.static final int SYNTAX_DATABASE
JoinSyntax enum instead.| Method Detail |
|---|
FetchMode getEagerFetchMode()
JDBCFetchPlan setEagerFetchMode(FetchMode mode)
FetchMode getSubclassFetchMode()
JDBCFetchPlan setSubclassFetchMode(FetchMode mode)
ResultSetType getResultSetType()
JDBCFetchPlan setResultSetType(ResultSetType type)
FetchDirection getFetchDirection()
JDBCFetchPlan setFetchDirection(FetchDirection direction)
LRSSizeAlgorithm getLRSSizeAlgorithm()
JDBCFetchPlan setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
JoinSyntax getJoinSyntax()
JDBCFetchPlan setJoinSyntax(JoinSyntax syntax)
IsolationLevel getIsolation()
openjpa.jdbc.TransactionIsolation
value.
JDBCFetchPlan setIsolation(IsolationLevel level)
openjpa.jdbc.TransactionIsolation
value.
JDBCFetchPlan addFetchGroup(java.lang.String group)
addFetchGroup in interface FetchPlanJDBCFetchPlan addFetchGroups(java.util.Collection groups)
addFetchGroups in interface FetchPlanJDBCFetchPlan addFetchGroups(java.lang.String... groups)
addFetchGroups in interface FetchPlan
JDBCFetchPlan addField(java.lang.Class cls,
java.lang.String field)
addField in interface FetchPlanJDBCFetchPlan addField(java.lang.String field)
addField in interface FetchPlan
JDBCFetchPlan addFields(java.lang.Class cls,
java.util.Collection fields)
addFields in interface FetchPlan
JDBCFetchPlan addFields(java.lang.Class cls,
java.lang.String... fields)
addFields in interface FetchPlanJDBCFetchPlan addFields(java.util.Collection fields)
addFields in interface FetchPlanJDBCFetchPlan addFields(java.lang.String... fields)
addFields in interface FetchPlanJDBCFetchPlan clearFetchGroups()
clearFetchGroups in interface FetchPlanJDBCFetchPlan clearFields()
clearFields in interface FetchPlanJDBCFetchPlan removeFetchGroup(java.lang.String group)
removeFetchGroup in interface FetchPlanJDBCFetchPlan removeFetchGroups(java.util.Collection groups)
removeFetchGroups in interface FetchPlanJDBCFetchPlan removeFetchGroups(java.lang.String... groups)
removeFetchGroups in interface FetchPlan
JDBCFetchPlan removeField(java.lang.Class cls,
java.lang.String field)
removeField in interface FetchPlanJDBCFetchPlan removeField(java.lang.String field)
removeField in interface FetchPlan
JDBCFetchPlan removeFields(java.lang.Class cls,
java.util.Collection fields)
removeFields in interface FetchPlan
JDBCFetchPlan removeFields(java.lang.Class cls,
java.lang.String... fields)
removeFields in interface FetchPlanJDBCFetchPlan removeFields(java.lang.String... fields)
removeFields in interface FetchPlanJDBCFetchPlan removeFields(java.util.Collection fields)
removeFields in interface FetchPlanJDBCFetchPlan resetFetchGroups()
resetFetchGroups in interface FetchPlanJDBCFetchPlan setQueryResultCacheEnabled(boolean cache)
setQueryResultCacheEnabled in interface FetchPlanJDBCFetchPlan setFetchBatchSize(int fetchBatchSize)
setFetchBatchSize in interface FetchPlanJDBCFetchPlan setLockTimeout(int timeout)
setLockTimeout in interface FetchPlanJDBCFetchPlan setMaxFetchDepth(int depth)
setMaxFetchDepth in interface FetchPlanJDBCFetchPlan setReadLockMode(javax.persistence.LockModeType mode)
setReadLockMode in interface FetchPlanJDBCFetchPlan setWriteLockMode(javax.persistence.LockModeType mode)
setWriteLockMode in interface FetchPlanJDBCFetchPlan setEagerFetchMode(int mode)
setEagerFetchMode(FetchMode) instead.
JDBCFetchPlan setSubclassFetchMode(int mode)
setSubclassFetchMode(FetchMode) instead.
JDBCFetchPlan setResultSetType(int mode)
setResultSetType(ResultSetType) instead.
JDBCFetchPlan setFetchDirection(int direction)
setFetchDirection(FetchDirection) instead.
int getLRSSize()
getLRSSizeAlgorithm() instead.
JDBCFetchPlan setLRSSize(int lrsSizeMode)
setLRSSizeAlgorithm(LRSSizeAlgorithm) instead.
JDBCFetchPlan setJoinSyntax(int syntax)
setJoinSyntax(JoinSyntax) instead.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||