org.hibernate.engine.query
Class QueryPlanCache
java.lang.Object
org.hibernate.engine.query.QueryPlanCache
- All Implemented Interfaces:
- java.io.Serializable
public class QueryPlanCache
- extends java.lang.Object
- implements java.io.Serializable
Acts as a cache for compiled query plans, as well as query-parameter metadata.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryPlanCache
public QueryPlanCache(SessionFactoryImplementor factory)
getSQLParameterMetadata
public ParameterMetadata getSQLParameterMetadata(java.lang.String query)
getHQLQueryPlan
public HQLQueryPlan getHQLQueryPlan(java.lang.String queryString,
boolean shallow,
java.util.Map enabledFilters)
throws QueryException,
MappingException
- Throws:
QueryException
MappingException
getFilterQueryPlan
public FilterQueryPlan getFilterQueryPlan(java.lang.String filterString,
java.lang.String collectionRole,
boolean shallow,
java.util.Map enabledFilters)
throws QueryException,
MappingException
- Throws:
QueryException
MappingException
getNativeSQLQueryPlan
public NativeSQLQueryPlan getNativeSQLQueryPlan(NativeSQLQuerySpecification spec)
Copyright © 2008 Hibernate.org. All Rights Reserved.