T
- The type of record to write.@FunctionalInterface public static interface HadoopPathBasedBulkWriter.Factory<T> extends Serializable
HadoopPathBasedBulkWriter
.Modifier and Type | Method and Description |
---|---|
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.IOException
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.