Class SavepointOutputFormat
- java.lang.Object
-
- org.apache.flink.api.common.io.RichOutputFormat<org.apache.flink.runtime.checkpoint.metadata.CheckpointMetadata>
-
- org.apache.flink.state.api.output.SavepointOutputFormat
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.OutputFormat<org.apache.flink.runtime.checkpoint.metadata.CheckpointMetadata>
@Internal public class SavepointOutputFormat extends org.apache.flink.api.common.io.RichOutputFormat<org.apache.flink.runtime.checkpoint.metadata.CheckpointMetadata>An output format to serializeCheckpointMetadatametadata to distributed storage.This format may only be executed with parallelism 1.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SavepointOutputFormat(org.apache.flink.core.fs.Path savepointPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidconfigure(org.apache.flink.configuration.Configuration parameters)voidopen(int taskNumber, int numTasks)voidwriteRecord(org.apache.flink.runtime.checkpoint.metadata.CheckpointMetadata metadata)-
Methods inherited from class org.apache.flink.api.common.io.RichOutputFormat
getRuntimeContext, setRuntimeContext
-
-
-
-
Method Detail
-
configure
public void configure(org.apache.flink.configuration.Configuration parameters)
-
open
public void open(int taskNumber, int numTasks) throws IOException- Throws:
IOException
-
writeRecord
public void writeRecord(org.apache.flink.runtime.checkpoint.metadata.CheckpointMetadata metadata) throws IOException- Throws:
IOException
-
close
public void close()
-
-