Package com.saperion.query.fulltext
Class FulltextQueryModifier
- java.lang.Object
-
- com.saperion.query.fulltext.FulltextQueryModifier
-
public class FulltextQueryModifier extends java.lang.ObjectUtil 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 theQueryModifierclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringadjustQuery(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 theQueryModifierclass.- 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 SaRMIDBExceptionQuery adjuster.- Parameters:
hqlQuery- HQL query- Returns:
- Adjusted query
- Throws:
SaRMIDBException- SaRMIDBException
-
-