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 TypeMethodDescriptionvoidDeprecated.UseTestPipelinewith theDirectRunner.<T> voidclearOutputElements(TupleTag<T> tag) Deprecated.UseTestPipelinewith theDirectRunner.voidclose()Deprecated.UseTestPipelinewith theDirectRunner.createProcessContext(ValueInSingleWindow<InputT> element) Deprecated.UseTestPipelinewith theDirectRunner.voidDeprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.<T> List<ValueInSingleWindow<T>> getMutableOutput(TupleTag<T> tag) Deprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.static <InputT,OutputT>
DoFnTester<InputT, OutputT> Deprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.<T> List<T> peekOutputElements(TupleTag<T> tag) Deprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.peekOutputElementsInWindow(TupleTag<OutputT> tag, BoundedWindow window) Deprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.processBundle(InputT... inputElements) Deprecated.UseTestPipelinewith theDirectRunner.processBundle(Iterable<? extends InputT> inputElements) Deprecated.UseTestPipelinewith theDirectRunner.voidprocessElement(InputT element) Deprecated.UseTestPipelinewith theDirectRunner.voidprocessTimestampedElement(TimestampedValue<InputT> element) Deprecated.UseTestPipelinewith theDirectRunner.voidprocessWindowedElement(InputT element, Instant timestamp, BoundedWindow window) Deprecated.UseTestPipelinewith theDirectRunner.voidsetCloningBehavior(DoFnTester.CloningBehavior newValue) Deprecated.UseTestPipelinewith theDirectRunner.<T> voidsetSideInput(PCollectionView<T> sideInput, BoundedWindow window, T value) Deprecated.UseTestPipelinewith theDirectRunner.voidsetSideInputs(Map<PCollectionView<?>, Map<BoundedWindow, ?>> sideInputs) Deprecated.UseTestPipelinewith theDirectRunner.voidDeprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.<T> List<T> takeOutputElements(TupleTag<T> tag) Deprecated.UseTestPipelinewith theDirectRunner.Deprecated.UseTestPipelinewith theDirectRunner.
-
Method Details
-
of
Deprecated.UseTestPipelinewith theDirectRunner. -
setSideInputs
Deprecated.UseTestPipelinewith theDirectRunner. -
setSideInput
@Deprecated public <T> void setSideInput(PCollectionView<T> sideInput, BoundedWindow window, T value) Deprecated.UseTestPipelinewith theDirectRunner. -
getPipelineOptions
Deprecated.UseTestPipelinewith theDirectRunner. -
setCloningBehavior
Deprecated.UseTestPipelinewith theDirectRunner. -
getCloningBehavior
Deprecated.UseTestPipelinewith theDirectRunner. -
processBundle
@Deprecated public List<OutputT> processBundle(Iterable<? extends InputT> inputElements) throws Exception Deprecated.UseTestPipelinewith theDirectRunner.- Throws:
Exception
-
processBundle
@Deprecated @SafeVarargs public final List<OutputT> processBundle(InputT... inputElements) throws Exception Deprecated.UseTestPipelinewith theDirectRunner.- Throws:
Exception
-
startBundle
Deprecated.UseTestPipelinewith theDirectRunner.- Throws:
Exception
-
processElement
Deprecated.UseTestPipelinewith theDirectRunner.- Throws:
Exception
-
processTimestampedElement
@Deprecated public void processTimestampedElement(TimestampedValue<InputT> element) throws Exception Deprecated.UseTestPipelinewith theDirectRunner.- Throws:
Exception
-
processWindowedElement
@Deprecated public void processWindowedElement(InputT element, Instant timestamp, BoundedWindow window) throws Exception Deprecated.UseTestPipelinewith theDirectRunner.- Throws:
Exception
-
finishBundle
Deprecated.UseTestPipelinewith theDirectRunner.- Throws:
Exception
-
peekOutputElements
Deprecated.UseTestPipelinewith theDirectRunner. -
peekOutputElementsWithTimestamp
Deprecated.UseTestPipelinewith theDirectRunner. -
peekOutputElementsInWindow
Deprecated.UseTestPipelinewith theDirectRunner. -
peekOutputElementsInWindow
@Deprecated public List<TimestampedValue<OutputT>> peekOutputElementsInWindow(TupleTag<OutputT> tag, BoundedWindow window) Deprecated.UseTestPipelinewith theDirectRunner. -
clearOutputElements
Deprecated.UseTestPipelinewith theDirectRunner. -
takeOutputElements
Deprecated.UseTestPipelinewith theDirectRunner. -
takeOutputElementsWithTimestamp
Deprecated.UseTestPipelinewith theDirectRunner. -
peekOutputElements
Deprecated.UseTestPipelinewith theDirectRunner. -
clearOutputElements
Deprecated.UseTestPipelinewith theDirectRunner. -
takeOutputElements
Deprecated.UseTestPipelinewith theDirectRunner. -
getMutableOutput
Deprecated.UseTestPipelinewith theDirectRunner. -
getMainOutputTag
Deprecated.UseTestPipelinewith theDirectRunner. -
createProcessContext
@Deprecated public DoFn<InputT,OutputT>.ProcessContext createProcessContext(ValueInSingleWindow<InputT> element) Deprecated.UseTestPipelinewith theDirectRunner. -
close
Deprecated.UseTestPipelinewith theDirectRunner.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
TestPipelinewith theDirectRunner.