Class CollectCoordinationResponse

java.lang.Object
org.apache.flink.streaming.api.operators.collect.CollectCoordinationResponse
All Implemented Interfaces:
Serializable, CoordinationResponse

public class CollectCoordinationResponse extends Object implements CoordinationResponse
A CoordinationResponse from the coordinator containing the required batch or new results and other necessary information in serialized form.

For an explanation of this communication protocol, see Java docs in CollectSinkFunction.

See Also:
  • Constructor Details

    • CollectCoordinationResponse

      public CollectCoordinationResponse(String version, long lastCheckpointedOffset, List<byte[]> serializedResults)
    • CollectCoordinationResponse

      public CollectCoordinationResponse(org.apache.flink.core.memory.DataInputView inView) throws IOException
      Throws:
      IOException
  • Method Details

    • getVersion

      public String getVersion()
    • getLastCheckpointedOffset

      public long getLastCheckpointedOffset()
    • getResults

      public <T> List<T> getResults(org.apache.flink.api.common.typeutils.TypeSerializer<T> elementSerializer) throws IOException
      Throws:
      IOException
    • serialize

      public void serialize(org.apache.flink.core.memory.DataOutputView outView) throws IOException
      Throws:
      IOException