Package org.apache.flink.runtime.state
Interface StateSnapshot.StateKeyGroupWriter
-
- All Known Subinterfaces:
KeyGroupPartitioner.PartitioningResult<T>
- All Known Implementing Classes:
CopyOnWriteStateTableSnapshot
- Enclosing interface:
- StateSnapshot
public static interface StateSnapshot.StateKeyGroupWriter
Interface for writing a snapshot that is partitioned into key-groups.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeStateInKeyGroup(org.apache.flink.core.memory.DataOutputView dov, int keyGroupId)
Writes the data for the specified key-group to the output.
-
-
-
Method Detail
-
writeStateInKeyGroup
void writeStateInKeyGroup(@Nonnull org.apache.flink.core.memory.DataOutputView dov, @Nonnegative int keyGroupId) throws IOException
Writes the data for the specified key-group to the output. You must callStateSnapshot.getKeyGroupWriter()
once before first calling this method.- Parameters:
dov
- the output.keyGroupId
- the key-group to write.- Throws:
IOException
- on write-related problems.
-
-