|
||||||||||
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 org.apache.openjpa.persistence.FetchPlan |
---|
DEFAULT, DEPTH_INFINITE, GROUP_ALL, GROUP_DEFAULT |
Method Summary | |
---|---|
JDBCFetchPlan |
addFetchGroup(String group)
Adds group to the set of fetch group to
use when loading objects. |
JDBCFetchPlan |
addFetchGroups(Collection groups)
Adds groups to the set of fetch group names to
use when loading objects. |
JDBCFetchPlan |
addFetchGroups(String... groups)
Adds groups to the set of fetch group names to
use when loading objects. |
JDBCFetchPlan |
addField(Class cls,
String field)
Adds field to the set of field names to
use when loading objects. |
JDBCFetchPlan |
addField(String field)
Adds field to the set of fully-qualified field names to
use when loading objects. |
JDBCFetchPlan |
addFields(Class cls,
Collection fields)
Adds fields to the set of field names to
use when loading objects. |
JDBCFetchPlan |
addFields(Class cls,
String... fields)
Adds fields to the set of field names to
use when loading objects. |
JDBCFetchPlan |
addFields(Collection fields)
Adds fields to the set of fully-qualified field names to
use when loading objects. |
JDBCFetchPlan |
addFields(String... fields)
Adds fields to the set of fully-qualified field names to
use when loading objects. |
JDBCFetchPlan |
clearFetchGroups()
Clears the set of fetch group names to use wen loading data. |
JDBCFetchPlan |
clearFields()
Clears the set of field names to use wen loading data. |
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. |
JDBCFetchPlan |
removeFetchGroup(String group)
Remove the given fetch group. |
JDBCFetchPlan |
removeFetchGroups(Collection groups)
Removes groups from the set of fetch group names
to use when loading objects. |
JDBCFetchPlan |
removeFetchGroups(String... groups)
Removes groups from the set of fetch group names
to use when loading objects. |
JDBCFetchPlan |
removeField(Class cls,
String field)
Remove the given field. |
JDBCFetchPlan |
removeField(String field)
Remove the given fully-qualified field. |
JDBCFetchPlan |
removeFields(Class cls,
Collection fields)
Removes fields from the set of field names
to use when loading objects. |
JDBCFetchPlan |
removeFields(Class cls,
String... fields)
Removes fields from the set of field names
to use when loading objects. |
JDBCFetchPlan |
removeFields(Collection fields)
Removes fields from the set of fully-qualified field names
to use when loading objects. |
JDBCFetchPlan |
removeFields(String... fields)
Removes fields from the set of fully-qualified field names
to use when loading objects. |
JDBCFetchPlan |
resetFetchGroups()
Resets the set of fetch groups to the list in the global configuration. |
JDBCFetchPlan |
setEagerFetchMode(FetchMode mode)
Eager fetch mode in loading relations. |
JDBCFetchPlan |
setFetchBatchSize(int fetchBatchSize)
Set the fetch batch size for large result set support. |
JDBCFetchPlan |
setFetchDirection(FetchDirection direction)
Result set fetch direction. |
JDBCFetchPlan |
setIsolation(IsolationLevel level)
The isolation level for queries issued to the database. |
JDBCFetchPlan |
setJoinSyntax(JoinSyntax syntax)
SQL join syntax. |
JDBCFetchPlan |
setLockTimeout(int timeout)
The number of milliseconds to wait for an object lock, or -1 for no limit. |
JDBCFetchPlan |
setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
How to determine the size of a large result set. |
JDBCFetchPlan |
setMaxFetchDepth(int depth)
The maximum fetch depth when loading an object. |
JDBCFetchPlan |
setQueryResultCacheEnabled(boolean cache)
Control whether or not query caching is enabled. |
JDBCFetchPlan |
setReadLockMode(LockModeType mode)
The lock level to use for locking loaded objects. |
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 |
setWriteLockMode(LockModeType mode)
The lock level to use for locking dirtied objects. |
Methods inherited from interface org.apache.openjpa.persistence.FetchPlan |
---|
getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCacheEnabled, getReadLockMode, getWriteLockMode, hasField, hasField |
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(String group)
FetchPlan
group
to the set of fetch group to
use when loading objects.
addFetchGroup
in interface FetchPlan
JDBCFetchPlan addFetchGroups(Collection groups)
FetchPlan
groups
to the set of fetch group names to
use when loading objects.
addFetchGroups
in interface FetchPlan
JDBCFetchPlan addFetchGroups(String... groups)
FetchPlan
groups
to the set of fetch group names to
use when loading objects.
addFetchGroups
in interface FetchPlan
JDBCFetchPlan addField(Class cls, String field)
FetchPlan
field
to the set of field names to
use when loading objects.
addField
in interface FetchPlan
JDBCFetchPlan addField(String field)
FetchPlan
field
to the set of fully-qualified field names to
use when loading objects.
addField
in interface FetchPlan
JDBCFetchPlan addFields(Class cls, Collection fields)
FetchPlan
fields
to the set of field names to
use when loading objects.
addFields
in interface FetchPlan
JDBCFetchPlan addFields(Class cls, String... fields)
FetchPlan
fields
to the set of field names to
use when loading objects.
addFields
in interface FetchPlan
JDBCFetchPlan addFields(Collection fields)
FetchPlan
fields
to the set of fully-qualified field names to
use when loading objects.
addFields
in interface FetchPlan
JDBCFetchPlan addFields(String... fields)
FetchPlan
fields
to the set of fully-qualified field names to
use when loading objects.
addFields
in interface FetchPlan
JDBCFetchPlan clearFetchGroups()
FetchPlan
clearFetchGroups
in interface FetchPlan
JDBCFetchPlan clearFields()
FetchPlan
clearFields
in interface FetchPlan
JDBCFetchPlan removeFetchGroup(String group)
FetchPlan
removeFetchGroup
in interface FetchPlan
JDBCFetchPlan removeFetchGroups(Collection groups)
FetchPlan
groups
from the set of fetch group names
to use when loading objects.
removeFetchGroups
in interface FetchPlan
JDBCFetchPlan removeFetchGroups(String... groups)
FetchPlan
groups
from the set of fetch group names
to use when loading objects.
removeFetchGroups
in interface FetchPlan
JDBCFetchPlan removeField(Class cls, String field)
FetchPlan
removeField
in interface FetchPlan
JDBCFetchPlan removeField(String field)
FetchPlan
removeField
in interface FetchPlan
JDBCFetchPlan removeFields(Class cls, Collection fields)
FetchPlan
fields
from the set of field names
to use when loading objects.
removeFields
in interface FetchPlan
JDBCFetchPlan removeFields(Class cls, String... fields)
FetchPlan
fields
from the set of field names
to use when loading objects.
removeFields
in interface FetchPlan
JDBCFetchPlan removeFields(String... fields)
FetchPlan
fields
from the set of fully-qualified field names
to use when loading objects.
removeFields
in interface FetchPlan
JDBCFetchPlan removeFields(Collection fields)
FetchPlan
fields
from the set of fully-qualified field names
to use when loading objects.
removeFields
in interface FetchPlan
JDBCFetchPlan resetFetchGroups()
FetchPlan
resetFetchGroups
in interface FetchPlan
JDBCFetchPlan setQueryResultCacheEnabled(boolean cache)
FetchPlan
setQueryResultCacheEnabled
in interface FetchPlan
JDBCFetchPlan setFetchBatchSize(int fetchBatchSize)
FetchPlan
openjpa.FetchBatchSize
setting. Note
that this property will be ignored under some data stores.
setFetchBatchSize
in interface FetchPlan
JDBCFetchPlan setLockTimeout(int timeout)
FetchPlan
setLockTimeout
in interface FetchPlan
JDBCFetchPlan setMaxFetchDepth(int depth)
FetchPlan
setMaxFetchDepth
in interface FetchPlan
JDBCFetchPlan setReadLockMode(LockModeType mode)
FetchPlan
setReadLockMode
in interface FetchPlan
JDBCFetchPlan setWriteLockMode(LockModeType mode)
FetchPlan
setWriteLockMode
in interface FetchPlan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |