TestPipeline with the DirectRunner.@Deprecated
public class DoFnTester<InputT,OutputT>
extends java.lang.Object
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DoFnTester.CloningBehaviorDeprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clearOutputElements()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| <T> void | clearOutputElements(TupleTag<T> tag)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | close()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| DoFn.ProcessContext | createProcessContext(ValueInSingleWindow<InputT> element)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | finishBundle()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| DoFnTester.CloningBehavior | getCloningBehavior()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| TupleTag<OutputT> | getMainOutputTag()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| <T> java.util.List<ValueInSingleWindow<T>> | getMutableOutput(TupleTag<T> tag)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| PipelineOptions | getPipelineOptions()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| static <InputT,OutputT> | of(DoFn<InputT,OutputT> fn)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<OutputT> | peekOutputElements()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| <T> java.util.List<T> | peekOutputElements(TupleTag<T> tag)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<TimestampedValue<OutputT>> | peekOutputElementsInWindow(BoundedWindow window)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<TimestampedValue<OutputT>> | peekOutputElementsInWindow(TupleTag<OutputT> tag,
                          BoundedWindow window)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<TimestampedValue<OutputT>> | peekOutputElementsWithTimestamp()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<OutputT> | processBundle(InputT... inputElements)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<OutputT> | processBundle(java.lang.Iterable<? extends InputT> inputElements)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | processElement(InputT element)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | processTimestampedElement(TimestampedValue<InputT> element)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | processWindowedElement(InputT element,
                      Instant timestamp,
                      BoundedWindow window)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | setCloningBehavior(DoFnTester.CloningBehavior newValue)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| <T> void | setSideInput(PCollectionView<T> sideInput,
            BoundedWindow window,
            T value)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | setSideInputs(java.util.Map<PCollectionView<?>,java.util.Map<BoundedWindow,?>> sideInputs)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| void | startBundle()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<OutputT> | takeOutputElements()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| <T> java.util.List<T> | takeOutputElements(TupleTag<T> tag)Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
| java.util.List<TimestampedValue<OutputT>> | takeOutputElementsWithTimestamp()Deprecated. 
 Use  TestPipelinewith theDirectRunner. | 
@Deprecated public static <InputT,OutputT> DoFnTester<InputT,OutputT> of(DoFn<InputT,OutputT> fn)
TestPipeline with the DirectRunner.@Deprecated public void setSideInputs(java.util.Map<PCollectionView<?>,java.util.Map<BoundedWindow,?>> sideInputs)
TestPipeline with the DirectRunner.@Deprecated public <T> void setSideInput(PCollectionView<T> sideInput, BoundedWindow window, T value)
TestPipeline with the DirectRunner.@Deprecated public PipelineOptions getPipelineOptions()
TestPipeline with the DirectRunner.@Deprecated public void setCloningBehavior(DoFnTester.CloningBehavior newValue)
TestPipeline with the DirectRunner.@Deprecated public DoFnTester.CloningBehavior getCloningBehavior()
TestPipeline with the DirectRunner.@Deprecated public java.util.List<OutputT> processBundle(java.lang.Iterable<? extends InputT> inputElements) throws java.lang.Exception
TestPipeline with the DirectRunner.java.lang.Exception@Deprecated @SafeVarargs public final java.util.List<OutputT> processBundle(InputT... inputElements) throws java.lang.Exception
TestPipeline with the DirectRunner.java.lang.Exception@Deprecated
public void startBundle()
                             throws java.lang.Exception
TestPipeline with the DirectRunner.java.lang.Exception@Deprecated public void processElement(InputT element) throws java.lang.Exception
TestPipeline with the DirectRunner.java.lang.Exception@Deprecated public void processTimestampedElement(TimestampedValue<InputT> element) throws java.lang.Exception
TestPipeline with the DirectRunner.java.lang.Exception@Deprecated public void processWindowedElement(InputT element, Instant timestamp, BoundedWindow window) throws java.lang.Exception
TestPipeline with the DirectRunner.java.lang.Exception@Deprecated
public void finishBundle()
                              throws java.lang.Exception
TestPipeline with the DirectRunner.java.lang.Exception@Deprecated public java.util.List<OutputT> peekOutputElements()
TestPipeline with the DirectRunner.@Deprecated public java.util.List<TimestampedValue<OutputT>> peekOutputElementsWithTimestamp()
TestPipeline with the DirectRunner.@Deprecated public java.util.List<TimestampedValue<OutputT>> peekOutputElementsInWindow(BoundedWindow window)
TestPipeline with the DirectRunner.@Deprecated public java.util.List<TimestampedValue<OutputT>> peekOutputElementsInWindow(TupleTag<OutputT> tag, BoundedWindow window)
TestPipeline with the DirectRunner.@Deprecated public void clearOutputElements()
TestPipeline with the DirectRunner.@Deprecated public java.util.List<OutputT> takeOutputElements()
TestPipeline with the DirectRunner.@Deprecated public java.util.List<TimestampedValue<OutputT>> takeOutputElementsWithTimestamp()
TestPipeline with the DirectRunner.@Deprecated public <T> java.util.List<T> peekOutputElements(TupleTag<T> tag)
TestPipeline with the DirectRunner.@Deprecated public <T> void clearOutputElements(TupleTag<T> tag)
TestPipeline with the DirectRunner.@Deprecated public <T> java.util.List<T> takeOutputElements(TupleTag<T> tag)
TestPipeline with the DirectRunner.@Deprecated public <T> java.util.List<ValueInSingleWindow<T>> getMutableOutput(TupleTag<T> tag)
TestPipeline with the DirectRunner.@Deprecated public TupleTag<OutputT> getMainOutputTag()
TestPipeline with the DirectRunner.@Deprecated public DoFn.ProcessContext createProcessContext(ValueInSingleWindow<InputT> element)
TestPipeline with the DirectRunner.@Deprecated
public void close()
                       throws java.lang.Exception
TestPipeline with the DirectRunner.close in interface java.lang.AutoCloseablejava.lang.Exception