Contact: |
|
|---|---|
Tracker: |
http://jira.codehaus.org/browse/GEOT-3871 |
Tagline: |
a function by any other name |
|
Children: |
Description
We have officially reached the limits of function lookup using a simple String. This limitation is causing us a bit of pain on too fronts:
- bridging between process and function is not a direct one to one unless we can qualify the function name with a namespace
- the WFS 2.0 specification offers some syntactic sugar (known as operations) as an alternate way of using a function; this also requires a namespace.
Rather than add a namespace; we are going to recycle out Name class which is also used for feature types; attribute types, process and anywhere else we need a qualified name. The Name class is similar to Java QName but more lightweight and easier to hack with.
Status
This proposal is being fast tracked as it is holding up the existing Join Support proposal.
Voting has not started yet:
- Andrea Aime
- Ben Caradoc-Davies
- Christian Mueller
- Ian Turton
- Justin Deoliveira +1
- Jody Garnett +1
- Simone Giannecchini
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 |
|---|
Add Name to the FunctionFactory interface as shown in BEFORE / AFTER (GEOT-3871)- Update the docs to show an example of looking up a function using a Name
- Update the Update instructions showing people an example of how to update their FunctionFactory
update CQL parser to respect qualified name (example "se:interpolate" )
API Changes
Filter
BEFORE:
A quick code example:
AFTER:
A quick code example:
Documentation Changes
The following documentation pages need attention after this change:
- Function Tutorial
- Factory Introduction
- Filter (gt-opengis) Function example code need an example with Name
- Filter (gt-main) needs FunctionFactory example updated