Package wt.query
Class QueryHintFactory
java.lang.Object
wt.query.QueryHintFactory
This factory class allows to create specific QueryHint object with necessary
information. Once QueryHint object is in place ,same can be provided
to @QuerySpec API.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryHintcreateSQLServerTableHint(int classIndex, String hintValue) createSQLServerTableHint API return the table-hint object which should be provided to QuerySpec.
-
Method Details
-
createSQLServerTableHint
createSQLServerTableHint API return the table-hint object which should be provided to QuerySpec. Please note that for TABLE-HINT, POM will implicitly put WITH clause for all the table-hint arguments.
Supported API: true- Parameters:
classIndex- - specifies the class to which table-hint should be appendedhintValue- - This value represents the hint-key which can be configured in xml file against required value. If no key found in map, user provided key will be considered as actual hint-value and same will be pass on to database server.- Returns:
-