public class QueryTreeBuilderRegistry extends Object
Constructor and Description |
---|
QueryTreeBuilderRegistry() |
Modifier and Type | Method and Description |
---|---|
static QueryTreeBuilder |
getQueryTreeBuilder(String language)
Returns the
QueryTreeBuilder for language . |
static String[] |
getSupportedLanguages()
Returns the set of query languages supported by all registered
QueryTreeBuilder implementations. |
public static QueryTreeBuilder getQueryTreeBuilder(String language) throws InvalidQueryException
QueryTreeBuilder
for language
.language
- the language of the query statement.QueryTreeBuilder
for language
.InvalidQueryException
- if there is no query tree builder for
language
.public static String[] getSupportedLanguages()
QueryTreeBuilder
implementations.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.