| Motivation: | CQL is limitied to its specification; we need a text format for filter and expression |
|---|---|
| Contact: | jgarnett Mauricio Pazos |
| Tracker: | http://jira.codehaus.org/browse/GEOT-1666 |
| Tagline: | We need a text format for filter and expression |
This page represents the current plan; for discussion please check the tracker link above.
Description
The CQL format has a couple of limitiations we need to break free of:
- propertyName OP expression
- there is no support for FeatureId filters
This proposal will create a new query language (called TXT) that looks like CQL but offers support for the above two ideas. We would call it WKT but since we are making up is is not yet known.
Status
This proposal is under construction.
Voting has not started yet:
Tasks
This section is used to make sure your proposal is complete (did you remember documentation?) and has enough paid or volunteer time lined up to be a success
| no progress | |
done | |
impeded | |
lack mandate/funds/time | |
volunteer needed |
|---|
| status | description |
|---|---|
| |
Define the BNF for TXT based on the CQL origional (see TXT Language Analysis) |
| |
Code refactoring in CQLCopiler class to separate the generated parser from filter builder logic |
| |
Create a TXT facade class that is method compatible with CQL |
| |
Develop ID predicate and Comparison predicate |
| |
Develop Between predicate |
| |
Develop Null predicate |
| |
Develop IN predicate |
| Develop like spatial-relation predicate | |
| Update the user guide to present TXT as a non standard option. |
API Changes
TXT Facade Class
class TXT {
String toTXT( Expression );
String toTXT( Filter );
Expression toExpression( String );
Expression toExpression( String, FilterFactory );
Filter toFilter( String );
Filter toFilter( String, FilterFactory );
List<Filter> toFilterList(String);
List<Filter> toFilterList(String,FilterFactory);
}
Documentation Changes
list the pages effected by this proposal
- CQL Parser from the Module Matrix page
- Home
- TXT Language Analysis
Resources
|
There are currently no attachments on this page.
|
Children: |


