org.hibernate.hql.internal.ast.exec
Class AbstractStatementExecutor

java.lang.Object
  extended by org.hibernate.hql.internal.ast.exec.AbstractStatementExecutor
All Implemented Interfaces:
StatementExecutor
Direct Known Subclasses:
BasicExecutor, MultiTableDeleteExecutor, MultiTableUpdateExecutor

public abstract class AbstractStatementExecutor
extends Object
implements StatementExecutor

Implementation of AbstractStatementExecutor.


Constructor Summary
AbstractStatementExecutor(HqlSqlWalker walker, CoreMessageLogger log)
           
 
Method Summary
protected  void coordinateSharedCacheCleanup(SessionImplementor session)
           
protected  void createTemporaryTableIfNecessary(Queryable persister, SessionImplementor session)
           
protected  void dropTemporaryTableIfNecessary(Queryable persister, SessionImplementor session)
           
protected  String generateIdInsertSelect(Queryable persister, String tableAlias, antlr.collections.AST whereClause)
           
protected  String generateIdSubselect(Queryable persister)
           
protected abstract  Queryable[] getAffectedQueryables()
           
protected  SessionFactoryImplementor getFactory()
           
protected  List getIdSelectParameterSpecifications()
           
protected  HqlSqlWalker getWalker()
           
protected  boolean shouldIsolateTemporaryTableDDL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.hql.internal.ast.exec.StatementExecutor
execute, getSqlStatements
 

Constructor Detail

AbstractStatementExecutor

public AbstractStatementExecutor(HqlSqlWalker walker,
                                 CoreMessageLogger log)
Method Detail

getWalker

protected HqlSqlWalker getWalker()

getFactory

protected SessionFactoryImplementor getFactory()

getIdSelectParameterSpecifications

protected List getIdSelectParameterSpecifications()

getAffectedQueryables

protected abstract Queryable[] getAffectedQueryables()

generateIdInsertSelect

protected String generateIdInsertSelect(Queryable persister,
                                        String tableAlias,
                                        antlr.collections.AST whereClause)

generateIdSubselect

protected String generateIdSubselect(Queryable persister)

createTemporaryTableIfNecessary

protected void createTemporaryTableIfNecessary(Queryable persister,
                                               SessionImplementor session)

dropTemporaryTableIfNecessary

protected void dropTemporaryTableIfNecessary(Queryable persister,
                                             SessionImplementor session)

coordinateSharedCacheCleanup

protected void coordinateSharedCacheCleanup(SessionImplementor session)

shouldIsolateTemporaryTableDDL

protected boolean shouldIsolateTemporaryTableDDL()


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.