public class LoadQueryInfluencers extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static LoadQueryInfluencers |
NONE
Static reference useful for cases where we are creating load SQL
outside the context of any influencers.
|
Constructor and Description |
---|
LoadQueryInfluencers() |
LoadQueryInfluencers(SessionFactoryImplementor sessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
disableFetchProfile(String name) |
void |
disableFilter(String filterName) |
void |
enableFetchProfile(String name) |
Filter |
enableFilter(String filterName) |
Set |
getEnabledFetchProfileNames() |
Filter |
getEnabledFilter(String filterName) |
Set<String> |
getEnabledFilterNames()
Returns an unmodifiable Set of enabled filter names.
|
Map<String,Filter> |
getEnabledFilters() |
Type |
getFilterParameterType(String filterParameterName) |
Object |
getFilterParameterValue(String filterParameterName) |
String |
getInternalFetchProfile() |
SessionFactoryImplementor |
getSessionFactory() |
boolean |
hasEnabledFetchProfiles() |
boolean |
hasEnabledFilters() |
boolean |
isFetchProfileEnabled(String name) |
static String[] |
parseFilterParameterName(String filterParameterName) |
void |
setInternalFetchProfile(String internalFetchProfile) |
public static LoadQueryInfluencers NONE
public LoadQueryInfluencers()
public LoadQueryInfluencers(SessionFactoryImplementor sessionFactory)
public SessionFactoryImplementor getSessionFactory()
public String getInternalFetchProfile()
public void setInternalFetchProfile(String internalFetchProfile)
public boolean hasEnabledFilters()
public Set<String> getEnabledFilterNames()
public void disableFilter(String filterName)
public static String[] parseFilterParameterName(String filterParameterName)
public boolean hasEnabledFetchProfiles()
public Set getEnabledFetchProfileNames()
public boolean isFetchProfileEnabled(String name) throws UnknownProfileException
UnknownProfileException
public void enableFetchProfile(String name) throws UnknownProfileException
UnknownProfileException
public void disableFetchProfile(String name) throws UnknownProfileException
UnknownProfileException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.