Package org.geotools.filter.text.commons
Interface ICompiler
- All Known Implementing Classes:
CQL2Compiler,CQLCompiler,CQLJsonCompiler,ECQLCompiler
public interface ICompiler
This interface presents the methods which will be implemented by the different compiles.
Warning: This component is not published. It is part of module implementation. Client module should not use this feature.
- Since:
- 2.6
- Author:
- Mauricio Pazos (Axios Engineering)
-
Method Summary
Modifier and TypeMethodDescriptionvoidCompiles the source string to produce anExpression.voidCompiles the source string to produce aFilter.voidThe resultantExpressionof the compilation.The resultant filter of the compilationReturn the compilation result.getTokenInPosition(int position) Return the token presents in the position specified.
-
Method Details
-
getSource
String getSource()- Returns:
- the compilation source
-
compileFilter
Compiles the source string to produce aFilter. The filter result must be retrieved withgetFilter().- Throws:
CQLException
-
getFilter
The resultant filter of the compilation- Returns:
- Filter
- Throws:
CQLException- See Also:
-
compileExpression
Compiles the source string to produce anExpression. The resultant expression must be retrieved withgetExpression().- Throws:
CQLException
-
getExpression
The resultantExpressionof the compilation.- Returns:
- Expression
- Throws:
CQLException- See Also:
-
compileFilterList
Compiles the source string to produce aListofFilter. The result must be retrieved with {@link #getFilterList()()}.- Throws:
CQLException
-
getFilterList
Return the compilation result.- Returns:
- List
- Throws:
CQLException- See Also:
-
getTokenInPosition
Return the token presents in the position specified.- Returns:
- IToken
-