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] [Created] (CALCITE-3196) n Frameworks, add BasePrepareAction (a functional interface) and deprecate PrepareAction

Julian Hyde created CALCITE-3196:
------------------------------------

             Summary: n 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


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)