Interface Parser

    • Method Detail

      • parse

        QueryObject parse​(java.lang.String oql)
                   throws java.io.UnsupportedEncodingException,
                          ParseException
        Parse the given OQL query string and return a tree of query objects that represent it.
        Parameters:
        oql - OQL query string passed to the parser generator.
        Returns:
        Tree of query objects that represent the query.
        Throws:
        java.io.UnsupportedEncodingException - If encoding of the query string is not supported.
        ParseException - If query is invalid.