You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2019/07/13 01:55:00 UTC

[jira] [Updated] (CALCITE-3196) In Frameworks, add BasePrepareAction (a functional interface) and deprecate PrepareAction

     [ https://issues.apache.org/jira/browse/CALCITE-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde updated CALCITE-3196:
---------------------------------
    Summary: In Frameworks, add BasePrepareAction (a functional interface) and deprecate PrepareAction  (was: n Frameworks, add BasePrepareAction (a functional interface) and deprecate PrepareAction)

> In Frameworks, add BasePrepareAction (a functional interface) and deprecate PrepareAction
> -----------------------------------------------------------------------------------------
>
>                 Key: CALCITE-3196
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3196
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Priority: Major
>
> In {{Frameworks}}, add {{interface BasePrepareAction}} (a functional interface) and deprecate {{abstract class PrepareAction}}. Because {{PrepareAction}} has a field ({{FrameworkConfig config}}), it cannot be implemented using a lambda. It is simpler and clearer to pass {{config}} as an argument to all methods where it is needed.
> {{PrepareAction}} was introduced in CALCITE-247.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)