public abstract class QueryStrategy extends Object
Constructor and Description |
---|
QueryStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract String |
buildHQLQuery(Properties templateProperties,
String ddc,
String query)
Builds a HQL query by the given parameters.
|
abstract boolean |
isSpecialQuery(String query)
Indicates if the given query needs to be replaced via a QueryStrategy.
|
public abstract boolean isSpecialQuery(String query)
query
- The query in question.public abstract String buildHQLQuery(Properties templateProperties, String ddc, String query)
templateProperties
- The properties to be used to build the HQL query.ddc
- The DDC to be used to build the HQL query.query
- The user query to be mapped to HQL.Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.