Class 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 the QueryModifier class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String adjustQuery​(java.lang.String hqlQuery)
      Query adjuster.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FulltextQueryModifier

        public FulltextQueryModifier​(DDC definition,
                                     java.util.Map<java.lang.String,​java.lang.String> fromEntityNames,
                                     SQLType dbTypeName)
        Creates an instance of the QueryModifier class.
        Parameters:
        definition -
        fromEntityNames - a map containing the mapping between the aliases and the entity names
        dbTypeName - 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