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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void term​(java.lang.String property, java.lang.String value, boolean optional)
      A GQL term was parsed.
    • Method Detail

      • term

        void term​(java.lang.String property,
                  java.lang.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.