| Constructor and Description |
|---|
CQLJsonCompiler(String cqlSource,
FilterFactory2 filterFactory)
new instance of CQL Compiler
|
| Modifier and Type | Method and Description |
|---|---|
void |
compileExpression()
Is this needed for CQL-JSON?
|
void |
compileFilter()
Compiles Filter from predicates source json
|
void |
compileFilterList()
Is this needed for CQL-JSON?
|
Expression |
getExpression()
Is this needed for CQL-JSON?
|
Filter |
getFilter()
Get compiled filter
|
List<Filter> |
getFilterList()
Is this needed for CQL-JSON?
|
Object |
getNonNull(Object predicates)
Goes through the Predicate beans to find non-null properties
|
String |
getSource() |
IToken |
getTokenInPosition(int position)
Is this needed for CQL-JSON?
|
public CQLJsonCompiler(String cqlSource, FilterFactory2 filterFactory)
public String getSource()
public Object getNonNull(Object predicates) throws IntrospectionException, InvocationTargetException, IllegalAccessException
predicates - CQL PredicatesIntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptionpublic void compileFilter()
throws CQLException
compileFilter in interface ICompilerCQLException - If there is an issue Parsing the predicatespublic Filter getFilter() throws CQLException
getFilter in interface ICompilerCQLExceptionICompiler.compileFilter()public void compileExpression()
throws CQLException
compileExpression in interface ICompilerCQLExceptionpublic Expression getExpression() throws CQLException
getExpression in interface ICompilerCQLExceptionICompiler.compileExpression()public void compileFilterList()
throws CQLException
compileFilterList in interface ICompilerCQLExceptionpublic List<Filter> getFilterList() throws CQLException
getFilterList in interface ICompilerCQLExceptionICompiler.compileFilterList()public IToken getTokenInPosition(int position)
getTokenInPosition in interface ICompilerCQLExceptionCopyright © 1996–2021 Geotools. All rights reserved.