Interface CreateFileBuilder.CreateFileBuilderCallbacks

Enclosing class:
CreateFileBuilder

public static interface CreateFileBuilder.CreateFileBuilderCallbacks
Callbacks for creating the file.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.fs.FSDataOutputStream
    createFileFromBuilder(org.apache.hadoop.fs.Path path, org.apache.hadoop.util.Progressable progress, CreateFileBuilder.CreateFileOptions options)
    Create a file from the builder.
  • Method Details

    • createFileFromBuilder

      org.apache.hadoop.fs.FSDataOutputStream createFileFromBuilder(org.apache.hadoop.fs.Path path, org.apache.hadoop.util.Progressable progress, CreateFileBuilder.CreateFileOptions options) throws IOException
      Create a file from the builder.
      Parameters:
      path - path to file
      progress - progress callback
      options - options for the file
      Returns:
      the stream
      Throws:
      IOException - any IO problem