public class TargetFetchConfiguration extends JDBCFetchConfigurationImpl implements FetchConfiguration
JDBCFetchConfigurationImpl.JDBCConfigurationState
FetchConfigurationImpl.ConfigurationState
_state
DEFAULT, FETCH_LOAD, FETCH_NONE, FETCH_REF
LOCK_NONE, LOCK_READ, LOCK_WRITE
LOCKSCOPE_EXTENDED, LOCKSCOPE_NORMAL
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION
EAGER_JOIN, EAGER_NONE, EAGER_PARALLEL
SIZE_LAST, SIZE_QUERY, SIZE_UNKNOWN
SYNTAX_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.
|
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, traverseJDBC
addFetchGroup, 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, unlock
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFetchGroup, 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, unlock
public TargetFetchConfiguration()
protected TargetFetchConfiguration(FetchConfigurationImpl.ConfigurationState state, JDBCFetchConfigurationImpl.JDBCConfigurationState jstate)
public void setHint(String key, Object value)
setHint
in interface FetchConfiguration
setHint
in class FetchConfigurationImpl
value
- 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)
FetchConfigurationImpl
setHint
in interface FetchConfiguration
setHint
in class FetchConfigurationImpl
key
- 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)
FetchConfigurationImpl
newInstance
in class JDBCFetchConfigurationImpl
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.