org.hibernate.engine.query
Class HQLQueryPlan
java.lang.Object
org.hibernate.engine.query.HQLQueryPlan
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- FilterQueryPlan
public class HQLQueryPlan
- extends Object
- implements Serializable
Defines a query execution plan for an HQL query (or filter).
- 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 |
HQLQueryPlan
public HQLQueryPlan(String hql,
boolean shallow,
Map enabledFilters,
SessionFactoryImplementor factory)
HQLQueryPlan
protected HQLQueryPlan(String hql,
String collectionRole,
boolean shallow,
Map enabledFilters,
SessionFactoryImplementor factory)
getSourceQuery
public String getSourceQuery()
getQuerySpaces
public Set getQuerySpaces()
getParameterMetadata
public ParameterMetadata getParameterMetadata()
getReturnMetadata
public ReturnMetadata getReturnMetadata()
getEnabledFilterNames
public Set getEnabledFilterNames()
getSqlStrings
public String[] getSqlStrings()
getUtilizedFilterNames
public Set getUtilizedFilterNames()
isShallow
public boolean isShallow()
performList
public List performList(QueryParameters queryParameters,
SessionImplementor session)
throws HibernateException
- Throws:
HibernateException
performIterate
public Iterator performIterate(QueryParameters queryParameters,
EventSource session)
throws HibernateException
- Throws:
HibernateException
performScroll
public ScrollableResults performScroll(QueryParameters queryParameters,
SessionImplementor session)
throws HibernateException
- Throws:
HibernateException
performExecuteUpdate
public int performExecuteUpdate(QueryParameters queryParameters,
SessionImplementor session)
throws HibernateException
- Throws:
HibernateException
getTranslators
public QueryTranslator[] getTranslators()
getDynamicInstantiationResultType
public Class getDynamicInstantiationResultType()
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.