Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.cache.spi |
Defines the Hibernate second level caching SPI.
|
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
Modifier and Type | Method and Description |
---|---|
Filter |
Session.enableFilter(String filterName)
Enable the named filter for this current session.
|
Filter |
Session.getEnabledFilter(String filterName)
Retrieve a currently enabled filter by name.
|
Filter |
Filter.setParameter(String name,
Object value)
Set the named parameter's value for this filter.
|
Filter |
Filter.setParameterList(String name,
Collection values)
Set the named parameter's value list for this filter.
|
Filter |
Filter.setParameterList(String name,
Object[] values)
Set the named parameter's value list for this filter.
|
Modifier and Type | Method and Description |
---|---|
static Set<FilterKey> |
FilterKey.createFilterKeys(Map<String,Filter> enabledFilters)
Constructs a number of FilterKey instances, given the currently enabled filters
|
Modifier and Type | Method and Description |
---|---|
FilterQueryPlan |
QueryPlanCache.getFilterQueryPlan(String filterString,
String collectionRole,
boolean shallow,
Map<String,Filter> enabledFilters)
Get the query plan for the given collection HQL filter fragment, creating it and caching it if not already cached
|
HQLQueryPlan |
QueryPlanCache.getHQLQueryPlan(String queryString,
boolean shallow,
Map<String,Filter> enabledFilters)
Get the query plan for the given HQL query, creating it and caching it if not already cached
|
Constructor and Description |
---|
HQLQueryPlan(String hql,
boolean shallow,
Map<String,Filter> enabledFilters,
SessionFactoryImplementor factory)
Constructs a HQLQueryPlan
|
HQLQueryPlan(String hql,
boolean shallow,
Map<String,Filter> enabledFilters,
SessionFactoryImplementor factory,
EntityGraphQueryHint entityGraphQueryHint) |
HQLQueryPlan(String hql,
String collectionRole,
boolean shallow,
Map<String,Filter> enabledFilters,
SessionFactoryImplementor factory,
EntityGraphQueryHint entityGraphQueryHint) |
Modifier and Type | Method and Description |
---|---|
Filter |
SessionDelegatorBaseImpl.enableFilter(String filterName) |
Filter |
LoadQueryInfluencers.enableFilter(String filterName) |
Filter |
SessionDelegatorBaseImpl.getEnabledFilter(String filterName) |
Filter |
LoadQueryInfluencers.getEnabledFilter(String filterName) |
Modifier and Type | Method and Description |
---|---|
Map<String,Filter> |
LoadQueryInfluencers.getEnabledFilters() |
Modifier and Type | Class and Description |
---|---|
class |
FilterImpl
Implementation of FilterImpl.
|
Modifier and Type | Method and Description |
---|---|
Filter |
SessionImpl.enableFilter(String filterName) |
Filter |
SessionImpl.getEnabledFilter(String filterName) |
Filter |
FilterImpl.setParameter(String name,
Object value)
Set the named parameter's value for this filter.
|
Filter |
FilterImpl.setParameterList(String name,
Collection values)
Set the named parameter's value list for this filter.
|
Filter |
FilterImpl.setParameterList(String name,
Object[] values)
Set the named parameter's value list for this filter.
|
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.