This closes #1261
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/24fab9f5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/24fab9f5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/24fab9f5 Branch: refs/heads/gearpump-runner Commit: 24fab9f53a8b3a7ef5fb35195dbe9417bbcc4101 Parents: fd4b631 87ff5ac Author: Thomas Groh <tg...@google.com> Authored: Thu Dec 1 14:16:58 2016 -0800 Committer: Thomas Groh <tg...@google.com> Committed: Thu Dec 1 14:16:58 2016 -0800 ---------------------------------------------------------------------- .../core/ElementAndRestrictionCoder.java | 8 + .../runners/core/GBKIntoKeyedWorkItems.java | 55 --- .../beam/runners/core/SplittableParDo.java | 378 +++++++++++++++---- .../beam/runners/core/SplittableParDoTest.java | 134 +++++-- ...ectGBKIntoKeyedWorkItemsOverrideFactory.java | 41 +- .../beam/runners/direct/DirectGroupByKey.java | 2 +- .../beam/runners/direct/DirectRunner.java | 8 +- .../runners/direct/DoFnLifecycleManager.java | 4 +- .../beam/runners/direct/ParDoEvaluator.java | 26 +- .../runners/direct/ParDoEvaluatorFactory.java | 63 +++- .../direct/ParDoMultiOverrideFactory.java | 2 +- ...littableProcessElementsEvaluatorFactory.java | 144 +++++++ .../direct/TransformEvaluatorRegistry.java | 5 + .../beam/runners/direct/SplittableDoFnTest.java | 194 +++++++++- .../org/apache/beam/sdk/transforms/DoFn.java | 12 + .../apache/beam/sdk/transforms/DoFnTester.java | 51 ++- .../sdk/util/state/TimerInternalsFactory.java | 36 ++ 17 files changed, 905 insertions(+), 258 deletions(-) ----------------------------------------------------------------------