Class QueryObjectModelBuilderRegistry


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

      • QueryObjectModelBuilderRegistry

        public QueryObjectModelBuilderRegistry()
    • Method Detail

      • getQueryObjectModelBuilder

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

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