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)

Reply via email to