public interface FilterTranslator extends QueryTranslator
ERROR_CANNOT_DETERMINE_TYPE, ERROR_CANNOT_FETCH_WITH_ITERATE, ERROR_CANNOT_FORMAT_LITERAL, ERROR_LEGACY_ORDINAL_PARAMS_NO_LONGER_SUPPORTED, ERROR_NAMED_PARAMETER_DOES_NOT_APPEAR, ERROR_ORDINAL_PARAMETER_DOES_NOT_APPEAR
Modifier and Type | Method and Description |
---|---|
void |
compile(String collectionRole,
Map replacements,
boolean shallow)
Compile a filter.
|
collectSqlStrings, compile, containsCollectionFetches, executeUpdate, getColumnNames, getDynamicInstantiationResultType, getEnabledFilters, getParameterTranslations, getQueryIdentifier, getQuerySpaces, getQueryString, getReturnAliases, getReturnTypes, getSQLString, isManipulationStatement, isUpdateStatement, iterate, list, scroll, validateScrollability
void compile(String collectionRole, Map replacements, boolean shallow) throws QueryException, MappingException
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.Copyright © 2020 JBoss by Red Hat. All rights reserved.