public final class CompilerUtil extends Object
This is an internal utility class with convenient methods for compiler actions.
Warning: This component is not published. It is part of module implementation. Client module should not use this feature.
Modifier and Type | Method and Description |
---|---|
static Expression |
parseExpression(Language language,
String predicate)
Makes Expressions for the predicate
|
static Expression |
parseExpression(Language language,
String predicate,
FilterFactory filterFactory)
Makes Expressions for the predicate
|
static Expression |
parseExpression(String source,
AbstractCompilerFactory compilerFactory,
FilterFactory filterFactory)
Parses the expression present on source and make an expression object.
|
static Filter |
parseFilter(Language language,
String predicate)
Makes the Filter for the predicate
|
static Filter |
parseFilter(Language language,
String predicate,
FilterFactory filterFactory)
Returns the filter resultant of the parsing process of predicate expression.
|
static Filter |
parseFilter(String source,
AbstractCompilerFactory compilerFactory,
FilterFactory filterFactory)
Parses the predicate present on source and makes the filter.
|
static List<Filter> |
parseFilterList(Language language,
String predicate)
Makes a list of filters extracted from the sequence of search predicates
|
static List<Filter> |
parseFilterList(Language language,
String predicate,
FilterFactory filterFactory)
Makes a list of filters extracted from the sequence of search predicates
|
static List<Filter> |
parseFilterList(String predicateSequence,
AbstractCompilerFactory compilerFactory,
FilterFactory filterFactory)
Parses the sequence of predicate and makes the filter list
|
public static final Filter parseFilter(Language language, String predicate, FilterFactory filterFactory) throws CQLException
language
- the dialect of languagepredicate
- a valid search predicate for the languagefilterFactory
- a filter factory used to make the expressionFilter
CQLException
public static final Filter parseFilter(Language language, String predicate) throws CQLException
language
- the dialect of languagepredicate
- a valid search predicate for the languageFilter
CQLException
public static final Expression parseExpression(Language language, String predicate, FilterFactory filterFactory) throws CQLException
language
- the dialect of languagepredicate
- a valid expression for the languagefilterFactory
- a filter factory used to make the expressionExpression
CQLException
public static final Expression parseExpression(Language language, String predicate) throws CQLException
language
- the dialect of languagepredicate
- a valid expression for the languageExpression
CQLException
public static List<Filter> parseFilterList(Language language, String predicate, FilterFactory filterFactory) throws CQLException
language
- the dialect of languagepredicate
- a valid expression for the languagefilterFactory
- a filter factory used to make the each filterList
of filtersCQLException
public static List<Filter> parseFilterList(Language language, String predicate) throws CQLException
language
- the dialect of languagepredicate
- a valid expression for the languageList
of filtersCQLException
public static Expression parseExpression(String source, AbstractCompilerFactory compilerFactory, FilterFactory filterFactory) throws CQLException
compilerFactory
- a compiler used to parse the sourcefilterFactory
- a filter factory used to make the filterExpression
CQLException
public static Filter parseFilter(String source, AbstractCompilerFactory compilerFactory, FilterFactory filterFactory) throws CQLException
source
- a predicatecompilerFactory
- a compiler used to parse the sourcefilterFactory
- a filter factory used to make the filterFilter
CQLException
public static List<Filter> parseFilterList(String predicateSequence, AbstractCompilerFactory compilerFactory, FilterFactory filterFactory) throws CQLException
predicateSequence
- sequence of predicatescompilerFactory
- a compiler used to parse the sourcefilterFactory
- a filter factory used to make the filterList
of Filter
CQLException
Copyright © 1996–2022 Geotools. All rights reserved.