Class QOMFormatter

    • Method Detail

      • format

        public static String format​(QueryObjectModel qom)
                             throws RepositoryException
        Formats the given qom as a JCR_SQL2 query statement.
        Parameters:
        qom - the query object model to translate.
        Returns:
        the JCR_SQL2 statement.
        Throws:
        RepositoryException - if an error occurs while formatting the qom.