Package com.saperion.query.fulltext
Class FulltextQueryModifier
- java.lang.Object
-
- com.saperion.query.fulltext.FulltextQueryModifier
-
public class FulltextQueryModifier extends java.lang.Object
Util class for the query string modification. The incomming Hibernate query will be ajusted to the underlying database.- Author:
- lav
-
-
Constructor Summary
Constructors Constructor Description FulltextQueryModifier(DDC definition, java.util.Map<java.lang.String,java.lang.String> fromEntityNames, SQLType dbTypeName)
Creates an instance of theQueryModifier
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
adjustQuery(java.lang.String hqlQuery)
Query adjuster.
-
-
-
Constructor Detail
-
FulltextQueryModifier
public FulltextQueryModifier(DDC definition, java.util.Map<java.lang.String,java.lang.String> fromEntityNames, SQLType dbTypeName)
Creates an instance of theQueryModifier
class.- Parameters:
definition
-fromEntityNames
- a map containing the mapping between the aliases and the entity namesdbTypeName
- the database type in use
-
-
Method Detail
-
adjustQuery
public java.lang.String adjustQuery(java.lang.String hqlQuery) throws SaRMIDBException
Query adjuster.- Parameters:
hqlQuery
- HQL query- Returns:
- Adjusted query
- Throws:
SaRMIDBException
- SaRMIDBException
-
-