[
https://issues.apache.org/jira/browse/CALCITE-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Starr reassigned CALCITE-4550:
------------------------------------
Assignee: James Starr
> 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
> Assignee: James Starr
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> JaninoRelMetadataProvider uses the a complicated convention 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)