Interface QueryParser


  • public interface QueryParser
    Query parser interface. TODO: move to o.a.j.o.spi (figure out what to do with the Query class)
    • Method Detail

      • getSupportedLanguages

        Set<String> getSupportedLanguages()
        Returns the set of query languages supported by this parser.
        Returns:
        supported query languages
      • parse

        Query parse​(String query,
                    String language)
             throws ParseException
        Parses the given query string, expressed in the specified language. TODO: Include name mapping information
        Parameters:
        query - query string
        language - query language
        Returns:
        parsed query
        Throws:
        ParseException - if the query string could not be parsed