InputT - the type of elements that will be passed to processElement(org.apache.beam.sdk.util.WindowedValue<InputT>)public interface TransformEvaluator<InputT>
DirectRunner.CommittedBundle.| Modifier and Type | Method and Description |
|---|---|
TransformResult<InputT> |
finishBundle()
Finish processing the bundle of this
TransformEvaluator. |
void |
processElement(WindowedValue<InputT> element)
Process an element in the input
DirectRunner.CommittedBundle. |
void processElement(WindowedValue<InputT> element) throws Exception
DirectRunner.CommittedBundle.element - the element to processExceptionTransformResult<InputT> finishBundle() throws Exception
TransformEvaluator.
After finishBundle() is called, the TransformEvaluator will not be reused,
and no more elements will be processed.
TransformResult containing the results of this bundle evaluation.ExceptionCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.