Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.engine.query
Class QueryPlanCache

    java.lang.Object
      org.hibernate.engine.query.QueryPlanCache

All Implemented Interfaces:
  Serializable

    public class QueryPlanCache

extends Object
implements Serializable

Acts as a cache for compiled query plans, as well as query-parameter metadata.

Author:
  Steve Ebersole
See Also:
  Serialized Form

Constructor Summary
`QueryPlanCache(SessionFactoryImplementor factory)`

Method Summary
`FilterQueryPlan` | `getFilterQueryPlan(String filterString, String collectionRole, boolean shallow, Map enabledFilters)`
`HQLQueryPlan` | `getHQLQueryPlan(String queryString, boolean shallow, Map enabledFilters)`
`NativeSQLQueryPlan` | `getNativeSQLQueryPlan(NativeSQLQuerySpecification spec)`
`ParameterMetadata` | `getSQLParameterMetadata(String query)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### QueryPlanCache

    public QueryPlanCache(SessionFactoryImplementor factory)

Method Detail

### getSQLParameterMetadata

    public ParameterMetadata getSQLParameterMetadata(String query)

### getHQLQueryPlan

    public HQLQueryPlan getHQLQueryPlan(String queryString,
                                        boolean shallow,
                                        Map enabledFilters)
                                 throws QueryException,
                                        MappingException

  Throws:
    `QueryException`
    `MappingException`

### getFilterQueryPlan

    public FilterQueryPlan getFilterQueryPlan(String filterString,
                                              String collectionRole,
                                              boolean shallow,
                                              Map enabledFilters)
                                       throws QueryException,
                                              MappingException

  Throws:
    `QueryException`
    `MappingException`

### getNativeSQLQueryPlan

    public NativeSQLQueryPlan getNativeSQLQueryPlan(NativeSQLQuerySpecification spec)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD