Class ANTLRQueryBuilder

    • Constructor Detail

      • ANTLRQueryBuilder

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

      • setValidationLevel

        public void setValidationLevel​(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
      • buildQuery

        public DatabaseQuery buildQuery​(CharSequence jpqlQuery,
                                        org.eclipse.persistence.internal.sessions.AbstractSession session)
        Deprecated.
        Creates a fully initialized DatabaseQuery by parsing the given JPQL query.
        Specified by:
        buildQuery in interface JPAQueryBuilder
        Parameters:
        jpqlQuery - A non-null string representation of the query to parse and to convert into a DatabaseQuery
        session - The EclipseLink AbstractSession that this query will execute against
        Returns:
        The fully initialized DatabaseQuery
      • buildSelectionCriteria

        public Expression buildSelectionCriteria​(String entityName,
                                                 String additionalCriteria,
                                                 org.eclipse.persistence.internal.sessions.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​(CharSequence jpqlQuery,
                                  DatabaseQuery query,
                                  org.eclipse.persistence.internal.sessions.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