Class CollectCoordinationResponse
java.lang.Object
org.apache.flink.streaming.api.operators.collect.CollectCoordinationResponse
- All Implemented Interfaces:
Serializable,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 Summary
ConstructorsConstructorDescriptionCollectCoordinationResponse(String version, long lastCheckpointedOffset, List<byte[]> serializedResults) CollectCoordinationResponse(org.apache.flink.core.memory.DataInputView inView) -
Method Summary
Modifier and TypeMethodDescriptionlong<T> List<T>getResults(org.apache.flink.api.common.typeutils.TypeSerializer<T> elementSerializer) voidserialize(org.apache.flink.core.memory.DataOutputView outView)
-
Constructor Details
-
CollectCoordinationResponse
-
CollectCoordinationResponse
public CollectCoordinationResponse(org.apache.flink.core.memory.DataInputView inView) throws IOException - Throws:
IOException
-
-
Method Details
-
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
- Throws:
IOException
-