James Starr created CALCITE-4550:
------------------------------------
Summary: Simplify JaninoRelMetadataProvider API for binding methods
Key: CALCITE-4550
URL: https://issues.apache.org/jira/browse/CALCITE-4550
Project: Calcite
Issue Type: Improvement
Components: core
Reporter: James Starr
JaninoRelMetadataProvider uses the a complicated heuristic for binding handler
instances to a the dynamically created handler. It requires the method to
stated once in Metadata, then again MetadataHandler with slightly different
signature and finally again a reference to the Metadata method must be included
MetadataDef. This is needlessly rather complicated and verbose for something
that is trying to reduce boiler plate.
Having JaninoRelMetadataProvider get the declared methods directly from the
handler interface would decouple JaninoRelMetadataProvider from method
definitions in Metadata and MetadataDef.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)