站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

FilterTranslator (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.hql
Class FilterTranslator

java.lang.Object
  extended bynet.sf.hibernate.loader.Loader
      extended bynet.sf.hibernate.hql.QueryTranslator
          extended bynet.sf.hibernate.hql.FilterTranslator

public class FilterTranslator
extends QueryTranslator


Field Summary
 
Fields inherited from class net.sf.hibernate.loader.Loader
NO_SUFFIX
 
Constructor Summary
FilterTranslator(String filterString)
           
 
Method Summary
 void compile(String collectionRole, SessionFactoryImplementor factory, Map replacements, boolean scalar)
          Compile a filter.
 
Methods inherited from class net.sf.hibernate.hql.QueryTranslator
addFromAssociation, applyLocks, bindNamedParameters, compile, concreteQueries, getCollectionOwner, getCollectionPersister, getFactory, getLockModes, getNamedParameterLocs, getOwners, getPersisters, getQuerySpaces, getResultColumnOrRow, getResultList, getReturnTypes, getSQLString, getSuffixes, isCompiled, iterate, list, loadSingleRow, scroll, setFactory, toString, upgradeLocks
 
Methods inherited from class net.sf.hibernate.loader.Loader
bindPositionalParameters, doList, generateAlias, generateSuffixes, getResultSet, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadEntity, loadEntityBatch, postInstantiate, prepareQueryStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterTranslator

public FilterTranslator(String filterString)
Method Detail

compile

public void compile(String collectionRole,
                    SessionFactoryImplementor factory,
                    Map replacements,
                    boolean scalar)
             throws QueryException,
                    MappingException
Compile a filter. This method may be called multiple times. Subsequent invocations are no-ops.

Throws:
QueryException
MappingException