public class TargetFetchConfiguration extends JDBCFetchConfigurationImpl implements FetchConfiguration
JDBCFetchConfigurationImpl.JDBCConfigurationStateFetchConfigurationImpl.ConfigurationState_stateDEFAULT, FETCH_LOAD, FETCH_NONE, FETCH_REFLOCK_NONE, LOCK_READ, LOCK_WRITELOCKSCOPE_EXTENDED, LOCKSCOPE_NORMALFLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTIONEAGER_JOIN, EAGER_NONE, EAGER_PARALLELSIZE_LAST, SIZE_QUERY, SIZE_UNKNOWNSYNTAX_DATABASE, SYNTAX_SQL92, SYNTAX_TRADITIONAL| Modifier | Constructor and Description |
|---|---|
|
TargetFetchConfiguration() |
protected |
TargetFetchConfiguration(FetchConfigurationImpl.ConfigurationState state,
JDBCFetchConfigurationImpl.JDBCConfigurationState jstate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExplicitTarget()
Affirms if the target is set on this receiver explicitly (i.e. by the user).
|
protected TargetFetchConfiguration |
newInstance(FetchConfigurationImpl.ConfigurationState state)
Return a new hollow instance.
|
void |
setHint(String key,
Object value)
Setting hints on this configuration is treated specially if the given key
is a target hint.
|
void |
setHint(String key,
Object value,
Object original)
Sets the hint to the given value.
|
void |
setTargets(String[] targets) |
addFetchInnerJoin, addFetchInnerJoins, addJoin, addJoins, clearJoins, copy, getEagerFetchMode, getFetchDirection, getFetchInnerJoins, getIgnoreDfgForFkSelect, getIsolation, getJoins, getJoinSyntax, getLRSSize, getResultSetType, getSubclassFetchMode, getSubclassFetchMode, hasFetchInnerJoin, hasJoin, newResultList, removeJoin, removeJoins, setContext, setEagerFetchMode, setFetchDirection, setIgnoreDfgForFkSelect, setIsolation, setJoinSyntax, setLRSSize, setResultSetType, setSubclassFetchMode, traverseJDBCaddFetchGroup, addFetchGroups, addField, addFields, clearFetchGroups, clearFields, clone, getCacheRetrieveMode, getCacheStoreMode, getContext, getExtendedPathLookup, getFetchBatchSize, getFetchGroups, getFields, getFlushBeforeQueries, getHint, getHints, getLockScope, getLockTimeout, getMaxFetchDepth, getQueryCacheEnabled, getQueryTimeout, getReadLockLevel, getRootClasses, getRootInstances, getSupportedHints, getWriteLockLevel, hasFetchGroup, hasFetchGroupAll, hasFetchGroupDefault, hasField, isDefaultPUFetchGroupConfigurationOnly, isFetchConfigurationSQLCacheAdmissible, isHintSet, lock, populateHintSetter, populateHintSetter, removeFetchGroup, removeFetchGroups, removeField, removeFields, removeHint, removeHint, requiresFetch, requiresLoad, resetFetchGroups, setCacheRetrieveMode, setCacheStoreMode, setExtendedPathLookup, setFetchBatchSize, setFlushBeforeQueries, setLockScope, setLockTimeout, setMaxFetchDepth, setQueryCacheEnabled, setQueryTimeout, setReadLockLevel, setRootClasses, setRootInstances, setWriteLockLevel, toString, toString, traverse, unlockequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFetchGroup, addFetchGroups, addField, addFields, clearFetchGroups, clearFields, clone, copy, getCacheRetrieveMode, getCacheStoreMode, getContext, getExtendedPathLookup, getFetchBatchSize, getFetchGroups, getFields, getFlushBeforeQueries, getHint, getHints, getLockScope, getLockTimeout, getMaxFetchDepth, getQueryCacheEnabled, getQueryTimeout, getReadLockLevel, getRootClasses, getRootInstances, getWriteLockLevel, hasFetchGroup, hasField, isDefaultPUFetchGroupConfigurationOnly, isFetchConfigurationSQLCacheAdmissible, isHintSet, lock, newResultList, removeFetchGroup, removeFetchGroups, removeField, removeFields, requiresFetch, requiresLoad, resetFetchGroups, setCacheRetrieveMode, setCacheStoreMode, setContext, setExtendedPathLookup, setFetchBatchSize, setFlushBeforeQueries, setLockScope, setLockTimeout, setMaxFetchDepth, setQueryCacheEnabled, setQueryTimeout, setReadLockLevel, setRootClasses, setRootInstances, setWriteLockLevel, traverse, unlockpublic TargetFetchConfiguration()
protected TargetFetchConfiguration(FetchConfigurationImpl.ConfigurationState state, JDBCFetchConfigurationImpl.JDBCConfigurationState jstate)
public void setHint(String key, Object value)
setHint in interface FetchConfigurationsetHint in class FetchConfigurationImplvalue - if the given key is target hint, then the value can be either
null, a String or a non-zero sized String array. It can not be a zero-sized
String array.FetchConfigurationImpl.setHint(String, Object, Object)public void setHint(String key, Object value, Object original)
FetchConfigurationImplsetHint in interface FetchConfigurationsetHint in class FetchConfigurationImplkey - a hint key. If it is one of the statically registered hint key then the setter is called.value - to be set. The given value type must match the argument type of the setter, if one exists.original - value as specified by the caller. This value is put in the hints map.public void setTargets(String[] targets)
public boolean isExplicitTarget()
protected TargetFetchConfiguration newInstance(FetchConfigurationImpl.ConfigurationState state)
FetchConfigurationImplnewInstance in class JDBCFetchConfigurationImplCopyright © 2006–2022 Apache Software Foundation. All rights reserved.