public interface BundleFactory
UncommittedBundles.| Modifier and Type | Method and Description |
|---|---|
<T> org.apache.beam.runners.direct.DirectRunner.UncommittedBundle<T> |
createBundle(PCollection<T> output)
Create an
DirectRunner.UncommittedBundle from the specified input. |
<K,T> org.apache.beam.runners.direct.DirectRunner.UncommittedBundle<T> |
createKeyedBundle(org.apache.beam.runners.direct.StructuralKey<K> key,
PCollection<T> output)
Create an
DirectRunner.UncommittedBundle with the specified keys at the specified step. |
<T> org.apache.beam.runners.direct.DirectRunner.UncommittedBundle<T> |
createRootBundle()
Create an
DirectRunner.UncommittedBundle from an empty input. |
<T> org.apache.beam.runners.direct.DirectRunner.UncommittedBundle<T> createRootBundle()
DirectRunner.UncommittedBundle from an empty input. Elements added to the bundle do not
belong to a PCollection.
For use in creating inputs to root transforms.
<T> org.apache.beam.runners.direct.DirectRunner.UncommittedBundle<T> createBundle(PCollection<T> output)
DirectRunner.UncommittedBundle from the specified input. Elements added to the bundle
belong to the output PCollection.<K,T> org.apache.beam.runners.direct.DirectRunner.UncommittedBundle<T> createKeyedBundle(org.apache.beam.runners.direct.StructuralKey<K> key,
PCollection<T> output)
DirectRunner.UncommittedBundle with the specified keys at the specified step. For use by
DirectGroupByKey.DirectGroupByKeyOnly PTransforms. Elements added to the bundle
belong to the output PCollection.Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.