Skip to end of metadata
Go to start of metadata

Contact:

full name

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:

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

(tick)

done

(error)

impeded

(warning)

lack mandate/funds/time

(question)

volunteer needed

  1. (tick) Add Name to the FunctionFactory interface as shown in BEFORE / AFTER (GEOT-3871)
  2. Update the docs to show an example of looking up a function using a Name
  3. Update the Update instructions showing people an example of how to update their FunctionFactory
  4. (warning) 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:

  • No labels