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<String> |
getEnabledFetchProfileNames() |
Filter |
getEnabledFilter(String filterName) |
Set<String> |
getEnabledFilterNames()
Returns an unmodifiable Set of enabled filter names.
|
Map<String,Filter> |
getEnabledFilters() |
EntityGraph |
getFetchGraph() |
Type |
getFilterParameterType(String filterParameterName) |
Object |
getFilterParameterValue(String filterParameterName) |
String |
getInternalFetchProfile() |
EntityGraph |
getLoadGraph() |
SessionFactoryImplementor |
getSessionFactory() |
boolean |
hasEnabledFetchProfiles() |
boolean |
hasEnabledFilters() |
boolean |
isFetchProfileEnabled(String name) |
static String[] |
parseFilterParameterName(String filterParameterName) |
void |
setFetchGraph(EntityGraph fetchGraph) |
void |
setInternalFetchProfile(String internalFetchProfile) |
void |
setLoadGraph(EntityGraph loadGraph) |
public static final 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 boolean isFetchProfileEnabled(String name) throws UnknownProfileException
UnknownProfileException
public void enableFetchProfile(String name) throws UnknownProfileException
UnknownProfileException
public void disableFetchProfile(String name) throws UnknownProfileException
UnknownProfileException
public EntityGraph getFetchGraph()
public void setFetchGraph(EntityGraph fetchGraph)
public EntityGraph getLoadGraph()
public void setLoadGraph(EntityGraph loadGraph)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.