org.hibernate.engine.query
Class HQLQueryPlan

java.lang.Object
  extended by org.hibernate.engine.query.HQLQueryPlan
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FilterQueryPlan

public class HQLQueryPlan
extends java.lang.Object
implements java.io.Serializable

Defines a query execution plan for an HQL query (or filter).

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
  HQLQueryPlan(java.lang.String hql, boolean shallow, java.util.Map enabledFilters, SessionFactoryImplementor factory)
           
protected HQLQueryPlan(java.lang.String hql, java.lang.String collectionRole, boolean shallow, java.util.Map enabledFilters, SessionFactoryImplementor factory)
           
 
Method Summary
 java.util.Set getEnabledFilterNames()
           
 ParameterMetadata getParameterMetadata()
           
 java.util.Set getQuerySpaces()
           
 ReturnMetadata getReturnMetadata()
           
 java.lang.String getSourceQuery()
           
 java.lang.String[] getSqlStrings()
           
 QueryTranslator[] getTranslators()
           
 java.util.Set getUtilizedFilterNames()
           
 boolean isShallow()
           
 int performExecuteUpdate(QueryParameters queryParameters, SessionImplementor session)
           
 java.util.Iterator performIterate(QueryParameters queryParameters, EventSource session)
           
 java.util.List performList(QueryParameters queryParameters, SessionImplementor session)
           
 ScrollableResults performScroll(QueryParameters queryParameters, SessionImplementor session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HQLQueryPlan

public HQLQueryPlan(java.lang.String hql,
                    boolean shallow,
                    java.util.Map enabledFilters,
                    SessionFactoryImplementor factory)

HQLQueryPlan

protected HQLQueryPlan(java.lang.String hql,
                       java.lang.String collectionRole,
                       boolean shallow,
                       java.util.Map enabledFilters,
                       SessionFactoryImplementor factory)
Method Detail

getSourceQuery

public java.lang.String getSourceQuery()

getQuerySpaces

public java.util.Set getQuerySpaces()

getParameterMetadata

public ParameterMetadata getParameterMetadata()

getReturnMetadata

public ReturnMetadata getReturnMetadata()

getEnabledFilterNames

public java.util.Set getEnabledFilterNames()

getSqlStrings

public java.lang.String[] getSqlStrings()

getUtilizedFilterNames

public java.util.Set getUtilizedFilterNames()

isShallow

public boolean isShallow()

performList

public java.util.List performList(QueryParameters queryParameters,
                                  SessionImplementor session)
                           throws HibernateException
Throws:
HibernateException

performIterate

public java.util.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()


Copyright © 2008 Hibernate.org. All Rights Reserved.