public class CollectCoordinationResponse extends Object implements org.apache.flink.runtime.operators.coordination.CoordinationResponse
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.
| Constructor and Description |
|---|
CollectCoordinationResponse(org.apache.flink.core.memory.DataInputView inView) |
CollectCoordinationResponse(String version,
long lastCheckpointedOffset,
List<byte[]> serializedResults) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastCheckpointedOffset() |
<T> List<T> |
getResults(org.apache.flink.api.common.typeutils.TypeSerializer<T> elementSerializer) |
String |
getVersion() |
void |
serialize(org.apache.flink.core.memory.DataOutputView outView) |
public CollectCoordinationResponse(String version, long lastCheckpointedOffset, List<byte[]> serializedResults)
public CollectCoordinationResponse(org.apache.flink.core.memory.DataInputView inView)
throws IOException
IOExceptionpublic String getVersion()
public long getLastCheckpointedOffset()
public <T> List<T> getResults(org.apache.flink.api.common.typeutils.TypeSerializer<T> elementSerializer) throws IOException
IOExceptionpublic void serialize(org.apache.flink.core.memory.DataOutputView outView)
throws IOException
IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.