当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
FilterTranslator (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.hql
Interface FilterTranslator
- All Superinterfaces:
- QueryTranslator
- All Known Implementing Classes:
- QueryTranslatorImpl, QueryTranslatorImpl
- public interface FilterTranslator
- extends QueryTranslator
Specialized interface for filters.
- Author:
- josh Mar 14, 2004 11:33:35 AM
Method Summary |
void |
compile(String collectionRole,
Map replacements,
boolean shallow)
Compile a filter. |
Methods inherited from interface org.hibernate.hql.QueryTranslator |
collectSqlStrings, compile, containsCollectionFetches, executeUpdate, getColumnNames, getEnabledFilters, getParameterTranslations, getQueryIdentifier, getQuerySpaces, getQueryString, getReturnAliases, getReturnTypes, getSQLString, isManipulationStatement, iterate, list, scroll, validateScrollability |
compile
public void compile(String collectionRole,
Map replacements,
boolean shallow)
throws QueryException,
MappingException
- Compile a filter. This method may be called multiple
times. Subsequent invocations are no-ops.
- Parameters:
collectionRole
- the role name of the collection used as the basis for the filter.replacements
- Defined query substitutions.shallow
- Does this represent a shallow (scalar or entity-id) select?
- Throws:
QueryException
- There was a problem parsing the query string.
MappingException
- There was a problem querying defined mappings.