Class BeamFnDataReadRunner<OutputT>


  • public class BeamFnDataReadRunner<OutputT>
    extends java.lang.Object
    Registers as a consumer for data over the Beam Fn API. Multiplexes any received data to all receivers in a specified output map.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BeamFnDataReadRunner.Registrar
      A registrar which provides a factory to handle reading from the Fn Api Data Plane.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void blockTillReadFinishes()  
      void forwardElementToConsumer​(org.apache.beam.sdk.values.WindowedValue<OutputT> element)  
      void reset()  
      void trySplit​(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleSplitRequest request, org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleSplitResponse.Builder response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • forwardElementToConsumer

        public void forwardElementToConsumer​(org.apache.beam.sdk.values.WindowedValue<OutputT> element)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • trySplit

        public void trySplit​(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleSplitRequest request,
                             org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleSplitResponse.Builder response)
      • blockTillReadFinishes

        public void blockTillReadFinishes()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • reset

        public void reset()