public class JDBCFetchPlanImpl extends FetchPlanImpl implements JDBCFetchPlan
_hints, _precedenceEAGER_JOIN, EAGER_NONE, EAGER_PARALLEL, SIZE_LAST, SIZE_QUERY, SIZE_UNKNOWN, SYNTAX_DATABASE, SYNTAX_SQL92, SYNTAX_TRADITIONALDEFAULT, DEPTH_INFINITE, GROUP_ALL, GROUP_DEFAULT| Constructor and Description |
|---|
JDBCFetchPlanImpl(FetchConfiguration fetch)
Constructor; supply delegate.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
getIgnoreDfgForFkSelect()
Affirms if foreign key for a relation field will be pre-fetched as part of the owning object irrespective of
whether the field is included in the default fetch group of this fetch configuration.
|
IsolationLevel |
getIsolation()
The isolation level for queries issued to the database.
|
JoinSyntax |
getJoinSyntax()
SQL join syntax.
|
int |
getLRSSize() |
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 DelegatingFetchConfiguration |
newDelegatingFetchConfiguration(FetchConfiguration fetch)
Create a new exception-translating delegating fetch configuration.
|
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.
|
JDBCFetchPlanImpl |
setEagerFetchMode(FetchMode mode)
Eager fetch mode in loading relations.
|
JDBCFetchPlan |
setEagerFetchMode(int mode) |
JDBCFetchPlan |
setFetchBatchSize(int fetchBatchSize)
Set the fetch batch size for large result set support.
|
JDBCFetchPlanImpl |
setFetchDirection(FetchDirection direction)
Result set fetch direction.
|
JDBCFetchPlan |
setFetchDirection(int direction) |
void |
setIgnoreDfgForFkSelect(boolean b)
Affirms if foreign key for a relation field will be pre-fetched as part of the owning object irrespective of
whether the field is included in the default fetch group of this fetch configuration.
|
JDBCFetchPlan |
setIsolation(IsolationLevel level)
The isolation level for queries issued to the database.
|
JDBCFetchPlan |
setJoinSyntax(int syntax) |
JDBCFetchPlanImpl |
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 |
setLRSSize(int lrsSizeMode) |
JDBCFetchPlanImpl |
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 |
setQueryTimeout(int timeout)
The number of milliseconds to wait for a query, or -1 for no
limit.
|
JDBCFetchPlan |
setReadLockMode(javax.persistence.LockModeType mode)
The lock level to use for locking loaded objects.
|
JDBCFetchPlan |
setResultSetType(int 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 |
setSubclassFetchMode(int mode) |
JDBCFetchPlan |
setWriteLockMode(javax.persistence.LockModeType mode)
The lock level to use for locking dirtied objects.
|
equals, getCacheRetrieveMode, getCacheStoreMode, getDelegate, getExtendedPathLookup, getFetchBatchSize, getFetchGroups, getFields, getHint, getHints, getLockScope, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getQueryResultCacheEnabled, getQueryTimeout, getReadLockMode, getWriteLockMode, hasField, hasField, hashCode, registerHint, setCacheRetrieveMode, setCacheStoreMode, setExtendedPathLookup, setHint, setHints, setLockScope, setQueryResultCacheclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetCacheRetrieveMode, getCacheStoreMode, getDelegate, getExtendedPathLookup, getFetchBatchSize, getFetchGroups, getFields, getHint, getHints, getLockScope, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getQueryResultCacheEnabled, getQueryTimeout, getReadLockMode, getWriteLockMode, hasField, hasField, setCacheRetrieveMode, setCacheStoreMode, setExtendedPathLookup, setHint, setLockScope, setQueryResultCachepublic JDBCFetchPlanImpl(FetchConfiguration fetch)
protected DelegatingFetchConfiguration newDelegatingFetchConfiguration(FetchConfiguration fetch)
FetchPlanImplnewDelegatingFetchConfiguration in class FetchPlanImplpublic FetchMode getEagerFetchMode()
JDBCFetchPlangetEagerFetchMode in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setEagerFetchMode(FetchMode mode)
JDBCFetchPlansetEagerFetchMode in interface JDBCFetchPlanpublic JDBCFetchPlan setEagerFetchMode(int mode)
setEagerFetchMode in interface JDBCFetchPlanpublic FetchMode getSubclassFetchMode()
JDBCFetchPlangetSubclassFetchMode in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setSubclassFetchMode(FetchMode mode)
JDBCFetchPlansetSubclassFetchMode in interface JDBCFetchPlanpublic JDBCFetchPlan setSubclassFetchMode(int mode)
setSubclassFetchMode in interface JDBCFetchPlanpublic ResultSetType getResultSetType()
JDBCFetchPlangetResultSetType in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setResultSetType(ResultSetType type)
JDBCFetchPlansetResultSetType in interface JDBCFetchPlanpublic JDBCFetchPlan setResultSetType(int mode)
setResultSetType in interface JDBCFetchPlanpublic FetchDirection getFetchDirection()
JDBCFetchPlangetFetchDirection in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setFetchDirection(FetchDirection direction)
JDBCFetchPlansetFetchDirection in interface JDBCFetchPlanpublic JDBCFetchPlan setFetchDirection(int direction)
setFetchDirection in interface JDBCFetchPlanpublic LRSSizeAlgorithm getLRSSizeAlgorithm()
JDBCFetchPlangetLRSSizeAlgorithm in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
JDBCFetchPlansetLRSSizeAlgorithm in interface JDBCFetchPlanpublic int getLRSSize()
getLRSSize in interface JDBCFetchPlanpublic JDBCFetchPlan setLRSSize(int lrsSizeMode)
setLRSSize in interface JDBCFetchPlanpublic JoinSyntax getJoinSyntax()
JDBCFetchPlangetJoinSyntax in interface JDBCFetchPlanpublic JDBCFetchPlanImpl setJoinSyntax(JoinSyntax syntax)
JDBCFetchPlansetJoinSyntax in interface JDBCFetchPlanpublic JDBCFetchPlan setJoinSyntax(int syntax)
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(String group)
FetchPlangroup to the set of fetch group to
use when loading objects.addFetchGroup in interface FetchPlanaddFetchGroup in interface JDBCFetchPlanaddFetchGroup in class FetchPlanImplpublic JDBCFetchPlan addFetchGroups(Collection groups)
FetchPlangroups to the set of fetch group names to
use when loading objects.addFetchGroups in interface FetchPlanaddFetchGroups in interface JDBCFetchPlanaddFetchGroups in class FetchPlanImplpublic JDBCFetchPlan addFetchGroups(String... groups)
FetchPlangroups to the set of fetch group names to
use when loading objects.addFetchGroups in interface FetchPlanaddFetchGroups in interface JDBCFetchPlanaddFetchGroups in class FetchPlanImplpublic JDBCFetchPlan addField(Class cls, String field)
FetchPlanfield to the set of field names to
use when loading objects.addField in interface FetchPlanaddField in interface JDBCFetchPlanaddField in class FetchPlanImplpublic JDBCFetchPlan addField(String field)
FetchPlanfield to the set of fully-qualified field names to
use when loading objects.addField in interface FetchPlanaddField in interface JDBCFetchPlanaddField in class FetchPlanImplpublic JDBCFetchPlan addFields(Class cls, Collection fields)
FetchPlanfields to the set of field names to
use when loading objects.addFields in interface FetchPlanaddFields in interface JDBCFetchPlanaddFields in class FetchPlanImplpublic JDBCFetchPlan addFields(Class cls, String... fields)
FetchPlanfields to the set of field names to
use when loading objects.addFields in interface FetchPlanaddFields in interface JDBCFetchPlanaddFields in class FetchPlanImplpublic JDBCFetchPlan addFields(Collection fields)
FetchPlanfields to the set of fully-qualified field names to
use when loading objects.addFields in interface FetchPlanaddFields in interface JDBCFetchPlanaddFields in class FetchPlanImplpublic JDBCFetchPlan addFields(String... fields)
FetchPlanfields to the set of fully-qualified field names to
use when loading objects.addFields in interface FetchPlanaddFields in interface JDBCFetchPlanaddFields in class FetchPlanImplpublic JDBCFetchPlan clearFetchGroups()
FetchPlanclearFetchGroups in interface FetchPlanclearFetchGroups in interface JDBCFetchPlanclearFetchGroups in class FetchPlanImplpublic JDBCFetchPlan clearFields()
FetchPlanclearFields in interface FetchPlanclearFields in interface JDBCFetchPlanclearFields in class FetchPlanImplpublic JDBCFetchPlan removeFetchGroup(String group)
FetchPlanremoveFetchGroup in interface FetchPlanremoveFetchGroup in interface JDBCFetchPlanremoveFetchGroup in class FetchPlanImplpublic JDBCFetchPlan removeFetchGroups(Collection groups)
FetchPlangroups from the set of fetch group names
to use when loading objects.removeFetchGroups in interface FetchPlanremoveFetchGroups in interface JDBCFetchPlanremoveFetchGroups in class FetchPlanImplpublic JDBCFetchPlan removeFetchGroups(String... groups)
FetchPlangroups from the set of fetch group names
to use when loading objects.removeFetchGroups in interface FetchPlanremoveFetchGroups in interface JDBCFetchPlanremoveFetchGroups in class FetchPlanImplpublic JDBCFetchPlan removeField(Class cls, String field)
FetchPlanremoveField in interface FetchPlanremoveField in interface JDBCFetchPlanremoveField in class FetchPlanImplpublic JDBCFetchPlan removeField(String field)
FetchPlanremoveField in interface FetchPlanremoveField in interface JDBCFetchPlanremoveField in class FetchPlanImplpublic JDBCFetchPlan removeFields(Class cls, Collection fields)
FetchPlanfields from the set of field names
to use when loading objects.removeFields in interface FetchPlanremoveFields in interface JDBCFetchPlanremoveFields in class FetchPlanImplpublic JDBCFetchPlan removeFields(Class cls, String... fields)
FetchPlanfields from the set of field names
to use when loading objects.removeFields in interface FetchPlanremoveFields in interface JDBCFetchPlanremoveFields in class FetchPlanImplpublic JDBCFetchPlan removeFields(Collection fields)
FetchPlanfields from the set of fully-qualified field names
to use when loading objects.removeFields in interface FetchPlanremoveFields in interface JDBCFetchPlanremoveFields in class FetchPlanImplpublic JDBCFetchPlan removeFields(String... fields)
FetchPlanfields from the set of fully-qualified field names
to use when loading objects.removeFields in interface FetchPlanremoveFields in interface JDBCFetchPlanremoveFields in class FetchPlanImplpublic JDBCFetchPlan resetFetchGroups()
FetchPlanresetFetchGroups in interface FetchPlanresetFetchGroups in interface JDBCFetchPlanresetFetchGroups in class FetchPlanImplpublic JDBCFetchPlan setQueryResultCacheEnabled(boolean cache)
FetchPlansetQueryResultCacheEnabled in interface FetchPlansetQueryResultCacheEnabled in interface JDBCFetchPlansetQueryResultCacheEnabled in class FetchPlanImplpublic JDBCFetchPlan setFetchBatchSize(int fetchBatchSize)
FetchPlanopenjpa.FetchBatchSize setting. Note
that this property will be ignored under some data stores.setFetchBatchSize in interface FetchPlansetFetchBatchSize in interface JDBCFetchPlansetFetchBatchSize in class FetchPlanImplpublic JDBCFetchPlan setLockTimeout(int timeout)
FetchPlansetLockTimeout in interface FetchPlansetLockTimeout in interface JDBCFetchPlansetLockTimeout in class FetchPlanImplpublic JDBCFetchPlan setMaxFetchDepth(int depth)
FetchPlansetMaxFetchDepth in interface FetchPlansetMaxFetchDepth in interface JDBCFetchPlansetMaxFetchDepth in class FetchPlanImplpublic JDBCFetchPlan setReadLockMode(javax.persistence.LockModeType mode)
FetchPlansetReadLockMode in interface FetchPlansetReadLockMode in interface JDBCFetchPlansetReadLockMode in class FetchPlanImplpublic JDBCFetchPlan setWriteLockMode(javax.persistence.LockModeType mode)
FetchPlansetWriteLockMode in interface FetchPlansetWriteLockMode in interface JDBCFetchPlansetWriteLockMode in class FetchPlanImplpublic JDBCFetchPlan setQueryTimeout(int timeout)
FetchPlansetQueryTimeout in interface FetchPlansetQueryTimeout in interface JDBCFetchPlansetQueryTimeout in class FetchPlanImplpublic boolean getIgnoreDfgForFkSelect()
JDBCFetchPlangetIgnoreDfgForFkSelect in interface JDBCFetchPlanpublic void setIgnoreDfgForFkSelect(boolean b)
JDBCFetchPlansetIgnoreDfgForFkSelect in interface JDBCFetchPlanCopyright © 2006–2020 Apache Software Foundation. All rights reserved.