Class ANTLRQueryBuilder

    • Constructor Detail

      • ANTLRQueryBuilder

        public ANTLRQueryBuilder()
        Deprecated.
        Creates a new ANTLRQueryBuilder.
    • Method Detail

      • setValidationLevel

        public void setValidationLevel​(java.lang.String level)
        Deprecated.
        Allow the parser validation level to be set.
        Specified by:
        setValidationLevel in interface JPAQueryBuilder
        Parameters:
        level - The validation levels are defined in ParserValidationType
      • buildSelectionCriteria

        public Expression buildSelectionCriteria​(java.lang.String entityName,
                                                 java.lang.String additionalCriteria,
                                                 AbstractSession session)
        Deprecated.
        Creates a new Expression that represents the given selection criteria.
        Specified by:
        buildSelectionCriteria in interface JPAQueryBuilder
        Parameters:
        entityName - The name of the entity for which a criteria is created
        additionalCriteria - The string representation of a conditional expression to parse
        session - The EclipseLink AbstractSession that this query will execute against
        Returns:
        The fully initialized Expression
      • populateQuery

        public void populateQuery​(java.lang.CharSequence jpqlQuery,
                                  DatabaseQuery query,
                                  AbstractSession session)
        Deprecated.
        Populates the given DatabaseQuery by parsing the given JPQL query.
        Specified by:
        populateQuery in interface JPAQueryBuilder
        Parameters:
        jpqlQuery - A non-null string representation of the query to parse and to convert into a DatabaseQuery
        query - The query to populate with the derived JPQL query
        session - The EclipseLink AbstractSession that this query will execute against