Class QueryTreeBuilderRegistry


  • public class QueryTreeBuilderRegistry
    extends java.lang.Object
    Implements a central access to QueryTreeBuilder instances.
    • Constructor Detail

      • QueryTreeBuilderRegistry

        public QueryTreeBuilderRegistry()
    • Method Detail

      • getQueryTreeBuilder

        public static QueryTreeBuilder getQueryTreeBuilder​(java.lang.String language)
                                                    throws InvalidQueryException
        Returns the QueryTreeBuilder for language.
        Parameters:
        language - the language of the query statement.
        Returns:
        the QueryTreeBuilder for language.
        Throws:
        InvalidQueryException - if there is no query tree builder for language.
      • getSupportedLanguages

        public static java.lang.String[] getSupportedLanguages()
        Returns the set of query languages supported by all registered QueryTreeBuilder implementations.
        Returns:
        String array containing the names of the supported languages.