Thomas Groh created BEAM-608:
--------------------------------

             Summary: Set EvaluationContext once in the 
TransformEvaluatorFactory instead of forApplication
                 Key: BEAM-608
                 URL: https://issues.apache.org/jira/browse/BEAM-608
             Project: Beam
          Issue Type: Improvement
          Components: runner-direct
            Reporter: Thomas Groh
            Assignee: Thomas Groh
            Priority: Minor


Remove the EvaluationContext parameter from 
TransformEvaluatorFactory.forApplication() and move it to 
TransformEvaluatorRegistry.defaultRegistry(), and pass it to all of the 
TransformEvaluatorFactories created in that constructor.

A single EvaluationContext is produced per pipeline run. 
TransformEvaluatorFactories are also produced once per pipeline run, as they 
are stateful (especially with regards to sources). This change will both ensure 
that Evaluators cannot be reused across pipelines, and cleans up the signature 
of the TransformEvaluatorFactory interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to