Interface Parser

  • All Known Implementing Classes:
    SelectParser

    public interface Parser
    Defines the interface of a query parser. To construct an instance of this class, use the ParserFactory.
    Author:
    Simon Thoresen Hult
    • Method Detail

      • parse

        QueryTree parse​(Parsable query)
        Parser the given Parsable, and returns a corresponding QueryTree. If parsing fails without an exception, the contained root will be an instance of NullItem.
        Parameters:
        query - the Parsable to parse
        Returns:
        the parsed QueryTree, never null