Interface GQL.ParserCallback

  • Enclosing class:
    GQL

    public static interface GQL.ParserCallback
    Defines a callback interface that may be implemented by client code to get a callback for each GQL term that is parsed.
    • Method Detail

      • term

        void term​(String property,
                  String value,
                  boolean optional)
           throws RepositoryException
        A GQL term was parsed.
        Parameters:
        property - the name of the property or an empty string if the term is not prefixed.
        value - the value of the term.
        optional - whether this term is prefixed with an OR operator.
        Throws:
        RepositoryException - if an error occurs while processing the term.