Class TransformContextImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getBroadcastVariable​(java.io.Serializable tag)  
      java.util.Optional<java.lang.String> getSerializedData()
      Retrieve the serialized data on the executor.
      void setSerializedData​(java.lang.String serializedData)
      Put serialized data to send to the executor.
      • Methods inherited from class java.lang.Object

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

      • TransformContextImpl

        public TransformContextImpl​(BroadcastManagerWorker broadcastManagerWorker)
        Constructor of Context Implementation.
        Parameters:
        broadcastManagerWorker - for broadcast variables.
    • Method Detail

      • getBroadcastVariable

        public java.lang.Object getBroadcastVariable​(java.io.Serializable tag)
        Specified by:
        getBroadcastVariable in interface Transform.Context
        Parameters:
        tag - of the variable to get.
        Returns:
        the broadcast variable.
      • setSerializedData

        public void setSerializedData​(java.lang.String serializedData)
        Description copied from interface: Transform.Context
        Put serialized data to send to the executor.
        Specified by:
        setSerializedData in interface Transform.Context
        Parameters:
        serializedData - the serialized data.
      • getSerializedData

        public java.util.Optional<java.lang.String> getSerializedData()
        Description copied from interface: Transform.Context
        Retrieve the serialized data on the executor.
        Specified by:
        getSerializedData in interface Transform.Context
        Returns:
        the serialized data.