@Internal public final class FileCopyFunction extends Object implements org.apache.flink.api.common.io.OutputFormat<org.apache.flink.core.fs.Path>
| 构造器和说明 |
|---|
FileCopyFunction(String path) |
public FileCopyFunction(String path)
path - the destination path to copy filepublic void open(int taskNumber,
int numTasks)
throws IOException
open 在接口中 org.apache.flink.api.common.io.OutputFormat<org.apache.flink.core.fs.Path>IOExceptionpublic void writeRecord(org.apache.flink.core.fs.Path sourcePath)
throws IOException
writeRecord 在接口中 org.apache.flink.api.common.io.OutputFormat<org.apache.flink.core.fs.Path>IOExceptionpublic void configure(org.apache.flink.configuration.Configuration parameters)
configure 在接口中 org.apache.flink.api.common.io.OutputFormat<org.apache.flink.core.fs.Path>public void close()
throws IOException
close 在接口中 org.apache.flink.api.common.io.OutputFormat<org.apache.flink.core.fs.Path>IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.