@Internal
public class SavepointOutputFormat
extends org.apache.flink.api.common.io.RichOutputFormat<org.apache.flink.runtime.checkpoint.savepoint.Savepoint>
Savepoint metadata to distributed storage.
This format may only be executed with parallelism 1.
| 构造器和说明 |
|---|
SavepointOutputFormat(org.apache.flink.core.fs.Path savepointPath) |
public SavepointOutputFormat(org.apache.flink.core.fs.Path savepointPath)
public void configure(org.apache.flink.configuration.Configuration parameters)
public void open(int taskNumber,
int numTasks)
throws IOException
IOExceptionpublic void writeRecord(org.apache.flink.runtime.checkpoint.savepoint.Savepoint savepoint)
throws IOException
IOExceptionpublic void close()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.