Class Overview
Centralize all options which can influence the SQL query needed to load an
entity. Currently such influencers are defined as:
- filters
- fetch profiles
- internal fetch profile (merge profile, etc)
Summary
Fields |
public
static
LoadQueryInfluencers |
NONE |
Static reference useful for cases where we are creating load SQL
outside the context of any influencers. |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
Static reference useful for cases where we are creating load SQL
outside the context of any influencers. One such example is
anything created by the session factory.
Public Constructors
public
LoadQueryInfluencers
()
Public Methods
public
void
disableFetchProfile
(String name)
public
void
disableFilter
(String filterName)
public
void
enableFetchProfile
(String name)
public
Set
getEnabledFetchProfileNames
()
public
Set
getEnabledFilterNames
()
Returns an unmodifiable Set of enabled filter names.
Returns
- an unmodifiable Set of enabled filter names.
public
Map
getEnabledFilters
()
public
Type
getFilterParameterType
(String filterParameterName)
public
Object
getFilterParameterValue
(String filterParameterName)
public
String
getInternalFetchProfile
()
public
boolean
hasEnabledFetchProfiles
()
public
boolean
hasEnabledFilters
()
public
boolean
isFetchProfileEnabled
(String name)
public
static
String[]
parseFilterParameterName
(String filterParameterName)
public
void
setInternalFetchProfile
(String internalFetchProfile)