Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-656

Add RuntimeContext to open method of functions

    XMLWordPrintableJSON

Details

    Description

      This is minor.

      Is it reasonable to add the `RuntimeContext` as an argument to the `open(Configuration)` method of stub functions? Can we do this without breaking stuff?

      I would find it nice to replace the possibly repeated calls to `getRuntimeContext().getBroadcastVariable()`, `getRuntimeContext().addAccumulator()`, etc. with something like `context.getBroadcastVariable()`.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/stratosphere/stratosphere/issues/656
      Created by: uce
      Labels:
      Created at: Wed Apr 02 16:33:51 CEST 2014
      State: open

      Attachments

        Activity

          People

            Unassigned Unassigned
            uce Ufuk Celebi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: