Package org.apache.hadoop.fs.s3a.impl
Interface CreateFileBuilder.CreateFileBuilderCallbacks
- Enclosing class:
- CreateFileBuilder
public static interface CreateFileBuilder.CreateFileBuilderCallbacks
Callbacks for creating the file.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.FSDataOutputStreamcreateFileFromBuilder(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 fileprogress- progress callbackoptions- options for the file- Returns:
- the stream
- Throws:
IOException- any IO problem
-