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 PredicatesIntrospectionException
InvocationTargetException
IllegalAccessException
public void compileFilter() throws CQLException
compileFilter
in interface ICompiler
CQLException
- If there is an issue Parsing the predicatespublic Filter getFilter() throws CQLException
getFilter
in interface ICompiler
CQLException
ICompiler.compileFilter()
public void compileExpression() throws CQLException
compileExpression
in interface ICompiler
CQLException
public Expression getExpression() throws CQLException
getExpression
in interface ICompiler
CQLException
ICompiler.compileExpression()
public void compileFilterList() throws CQLException
compileFilterList
in interface ICompiler
CQLException
public List<Filter> getFilterList() throws CQLException
getFilterList
in interface ICompiler
CQLException
ICompiler.compileFilterList()
public IToken getTokenInPosition(int position)
getTokenInPosition
in interface ICompiler
CQLException
Copyright © 1996–2021 Geotools. All rights reserved.