Interface HadoopPathBasedBulkWriter.Factory<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • create

        HadoopPathBasedBulkWriter<T> create​(org.apache.hadoop.fs.Path targetFilePath,
                                            org.apache.hadoop.fs.Path inProgressFilePath)
                                     throws IOException
        Creates a path-based writer that writes to the inProgressPath first and commits to targetPath finally.
        Parameters:
        targetFilePath - The final path to commit to.
        inProgressFilePath - The intermediate path to write to before committing.
        Returns:
        The created writer.
        Throws:
        IOException