Package org.apache.beam.sdk.transforms
Class DoFnTester<InputT,OutputT>
java.lang.Object
org.apache.beam.sdk.transforms.DoFnTester<InputT,OutputT>
- All Implemented Interfaces:
AutoCloseable
Deprecated.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.UseTestPipeline
with theDirectRunner
.<T> void
clearOutputElements
(TupleTag<T> tag) Deprecated.UseTestPipeline
with theDirectRunner
.void
close()
Deprecated.UseTestPipeline
with theDirectRunner
.createProcessContext
(ValueInSingleWindow<InputT> element) Deprecated.UseTestPipeline
with theDirectRunner
.void
Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.<T> List
<ValueInSingleWindow<T>> getMutableOutput
(TupleTag<T> tag) Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.static <InputT,
OutputT>
DoFnTester<InputT, OutputT> Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.<T> List
<T> peekOutputElements
(TupleTag<T> tag) Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.peekOutputElementsInWindow
(TupleTag<OutputT> tag, BoundedWindow window) Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.processBundle
(InputT... inputElements) Deprecated.UseTestPipeline
with theDirectRunner
.processBundle
(Iterable<? extends InputT> inputElements) Deprecated.UseTestPipeline
with theDirectRunner
.void
processElement
(InputT element) Deprecated.UseTestPipeline
with theDirectRunner
.void
processTimestampedElement
(TimestampedValue<InputT> element) Deprecated.UseTestPipeline
with theDirectRunner
.void
processWindowedElement
(InputT element, Instant timestamp, BoundedWindow window) Deprecated.UseTestPipeline
with theDirectRunner
.void
setCloningBehavior
(DoFnTester.CloningBehavior newValue) Deprecated.UseTestPipeline
with theDirectRunner
.<T> void
setSideInput
(PCollectionView<T> sideInput, BoundedWindow window, T value) Deprecated.UseTestPipeline
with theDirectRunner
.void
setSideInputs
(Map<PCollectionView<?>, Map<BoundedWindow, ?>> sideInputs) Deprecated.UseTestPipeline
with theDirectRunner
.void
Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.<T> List
<T> takeOutputElements
(TupleTag<T> tag) Deprecated.UseTestPipeline
with theDirectRunner
.Deprecated.UseTestPipeline
with theDirectRunner
.
-
Method Details
-
of
Deprecated.UseTestPipeline
with theDirectRunner
. -
setSideInputs
Deprecated.UseTestPipeline
with theDirectRunner
. -
setSideInput
@Deprecated public <T> void setSideInput(PCollectionView<T> sideInput, BoundedWindow window, T value) Deprecated.UseTestPipeline
with theDirectRunner
. -
getPipelineOptions
Deprecated.UseTestPipeline
with theDirectRunner
. -
setCloningBehavior
Deprecated.UseTestPipeline
with theDirectRunner
. -
getCloningBehavior
Deprecated.UseTestPipeline
with theDirectRunner
. -
processBundle
@Deprecated public List<OutputT> processBundle(Iterable<? extends InputT> inputElements) throws Exception Deprecated.UseTestPipeline
with theDirectRunner
.- Throws:
Exception
-
processBundle
@Deprecated @SafeVarargs public final List<OutputT> processBundle(InputT... inputElements) throws Exception Deprecated.UseTestPipeline
with theDirectRunner
.- Throws:
Exception
-
startBundle
Deprecated.UseTestPipeline
with theDirectRunner
.- Throws:
Exception
-
processElement
Deprecated.UseTestPipeline
with theDirectRunner
.- Throws:
Exception
-
processTimestampedElement
@Deprecated public void processTimestampedElement(TimestampedValue<InputT> element) throws Exception Deprecated.UseTestPipeline
with theDirectRunner
.- Throws:
Exception
-
processWindowedElement
@Deprecated public void processWindowedElement(InputT element, Instant timestamp, BoundedWindow window) throws Exception Deprecated.UseTestPipeline
with theDirectRunner
.- Throws:
Exception
-
finishBundle
Deprecated.UseTestPipeline
with theDirectRunner
.- Throws:
Exception
-
peekOutputElements
Deprecated.UseTestPipeline
with theDirectRunner
. -
peekOutputElementsWithTimestamp
Deprecated.UseTestPipeline
with theDirectRunner
. -
peekOutputElementsInWindow
Deprecated.UseTestPipeline
with theDirectRunner
. -
peekOutputElementsInWindow
@Deprecated public List<TimestampedValue<OutputT>> peekOutputElementsInWindow(TupleTag<OutputT> tag, BoundedWindow window) Deprecated.UseTestPipeline
with theDirectRunner
. -
clearOutputElements
Deprecated.UseTestPipeline
with theDirectRunner
. -
takeOutputElements
Deprecated.UseTestPipeline
with theDirectRunner
. -
takeOutputElementsWithTimestamp
Deprecated.UseTestPipeline
with theDirectRunner
. -
peekOutputElements
Deprecated.UseTestPipeline
with theDirectRunner
. -
clearOutputElements
Deprecated.UseTestPipeline
with theDirectRunner
. -
takeOutputElements
Deprecated.UseTestPipeline
with theDirectRunner
. -
getMutableOutput
Deprecated.UseTestPipeline
with theDirectRunner
. -
getMainOutputTag
Deprecated.UseTestPipeline
with theDirectRunner
. -
createProcessContext
@Deprecated public DoFn<InputT,OutputT>.ProcessContext createProcessContext(ValueInSingleWindow<InputT> element) Deprecated.UseTestPipeline
with theDirectRunner
. -
close
Deprecated.UseTestPipeline
with theDirectRunner
.- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
TestPipeline
with theDirectRunner
.