接口 FilterTranslator
-
- 所有超级接口:
QueryTranslator
- 所有已知实现类:
QueryTranslatorImpl,QueryTranslatorImpl
public interface FilterTranslator extends QueryTranslator
Specialized interface for filters.- 作者:
- josh
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidcompile(String collectionRole, Map replacements, boolean shallow)Compile a filter.-
从接口继承的方法 org.hibernate.hql.spi.QueryTranslator
collectSqlStrings, compile, containsCollectionFetches, executeUpdate, getColumnNames, getDynamicInstantiationResultType, getEnabledFilters, getParameterTranslations, getPrimaryFromClauseTables, getQueryIdentifier, getQuerySpaces, getQueryString, getReturnAliases, getReturnTypes, getSQLString, isManipulationStatement, isUpdateStatement, iterate, list, scroll, validateScrollability
-
-
-
-
方法详细资料
-
compile
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.- 参数:
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?- 抛出:
QueryException- There was a problem parsing the query string.MappingException- There was a problem querying defined mappings.
-
-