T - The type of record to write.@FunctionalInterface public static interface HadoopPathBasedBulkWriter.Factory<T> extends Serializable
HadoopPathBasedBulkWriter.| 限定符和类型 | 方法和说明 |
|---|---|
HadoopPathBasedBulkWriter<T> |
create(org.apache.hadoop.fs.Path targetFilePath,
org.apache.hadoop.fs.Path inProgressFilePath)
Creates a path-based writer that writes to the inProgressPath first and commits
to targetPath finally.
|
HadoopPathBasedBulkWriter<T> create(org.apache.hadoop.fs.Path targetFilePath, org.apache.hadoop.fs.Path inProgressFilePath) throws IOException
targetFilePath - The final path to commit to.inProgressFilePath - The intermediate path to write to before committing.IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.