Package org.apache.hadoop.fs.impl
Class FileSystemMultipartUploaderBuilder
java.lang.Object
org.apache.hadoop.fs.impl.AbstractFSBuilderImpl<S,B>
org.apache.hadoop.fs.impl.MultipartUploaderBuilderImpl<FileSystemMultipartUploader,FileSystemMultipartUploaderBuilder>
org.apache.hadoop.fs.impl.FileSystemMultipartUploaderBuilder
- All Implemented Interfaces:
FSBuilder<FileSystemMultipartUploader,,FileSystemMultipartUploaderBuilder> MultipartUploaderBuilder<FileSystemMultipartUploader,FileSystemMultipartUploaderBuilder>
public class FileSystemMultipartUploaderBuilder
extends MultipartUploaderBuilderImpl<FileSystemMultipartUploader,FileSystemMultipartUploaderBuilder>
Builder for
FileSystemMultipartUploader.-
Field Summary
Fields inherited from class org.apache.hadoop.fs.impl.AbstractFSBuilderImpl
UNKNOWN_MANDATORY_KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.fs.impl.MultipartUploaderBuilderImpl
append, blockSize, bufferSize, checksumOpt, create, overwrite, permission, replicationMethods inherited from class org.apache.hadoop.fs.impl.AbstractFSBuilderImpl
getMandatoryKeys, getOptionalKeys, getOptionalPath, getOptionalPathHandle, getOptions, getPath, getPathHandle, must, must, must, must, must, must, must, mustDouble, mustLong, opt, opt, opt, opt, opt, opt, opt, optDouble, optLong, rejectUnknownMandatoryKeys, rejectUnknownMandatoryKeys
-
Constructor Details
-
FileSystemMultipartUploaderBuilder
-
-
Method Details
-
getThisBuilder
Description copied from class:MultipartUploaderBuilderImplReturn the concrete implementation of the builder instance.- Specified by:
getThisBuilderin classMultipartUploaderBuilderImpl<FileSystemMultipartUploader,FileSystemMultipartUploaderBuilder> - Returns:
- this object, typecast
-
build
Description copied from interface:MultipartUploaderBuilderCreate the FSDataOutputStream to write on the file system.- Returns:
- S Generics Type.
- Throws:
IllegalArgumentException- if the parameters are not valid.IOException- on errors when file system creates or appends the file.
-
getFS
- Overrides:
getFSin classMultipartUploaderBuilderImpl<FileSystemMultipartUploader,FileSystemMultipartUploaderBuilder>
-
getPermission
-
getBufferSize
public int getBufferSize() -
getReplication
public short getReplication() -
getFlags
-
getChecksumOpt
-
getBlockSize
protected long getBlockSize()
-