Uses of Enum Class
org.apache.hadoop.fs.CreateFlag
Packages that use CreateFlag
Package
Description
An abstract file system API.
This package contains implementation classes for use inside
filesystems.
ViewFileSystem and ViewFileSystemOverloadScheme classes.
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
-
Uses of CreateFlag in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs that return CreateFlagModifier and TypeMethodDescriptionstatic CreateFlagReturns the enum constant of this class with the specified name.static CreateFlag[]CreateFlag.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.fs that return types with arguments of type CreateFlagModifier and TypeMethodDescriptionprotected EnumSet<CreateFlag>FSDataOutputStreamBuilder.getFlags()Method parameters in org.apache.hadoop.fs with type arguments of type CreateFlagModifier and TypeMethodDescriptionfinal FSDataOutputStreamAbstractFileSystem.create(Path f, EnumSet<CreateFlag> createFlag, Options.CreateOpts... opts) The specification of this method matches that ofFileContext.create(Path, EnumSet, Options.CreateOpts...)except that the Path f must be fully qualified and the permission is absolute (i.e. umask has been applied).ChecksumFileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt) FileContext.create(Path f, EnumSet<CreateFlag> createFlag, Options.CreateOpts... opts) Create or overwrite file on indicated path and returns an output stream for writing into the file.FileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) Create an FSDataOutputStream at the indicated Path with write-progress reporting.FileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt) Create an FSDataOutputStream at the indicated Path with a custom checksum option.FilterFileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt) abstract FSDataOutputStreamAbstractFileSystem.createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt, boolean createParent) The specification of this method matches that ofAbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...)except that the opts have been declared explicitly.ChecksumFs.createInternal(Path f, EnumSet<CreateFlag> createFlag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt, boolean createParent) DelegateToFileSystem.createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt, boolean createParent) FilterFs.createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt, boolean createParent) ChecksumFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) FileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) Opens an FSDataOutputStream at the indicated Path with write-progress reporting.FilterFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) RawLocalFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) protected FSDataOutputStreamFileSystem.primitiveCreate(Path f, FsPermission absolutePermission, EnumSet<CreateFlag> flag, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt) Deprecated.protected FSDataOutputStreamFilterFileSystem.primitiveCreate(Path f, FsPermission absolutePermission, EnumSet<CreateFlag> flag, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt) static voidCreateFlag.validate(Object path, boolean pathExists, EnumSet<CreateFlag> flag) Validate the CreateFlag for create operationstatic voidCreateFlag.validate(EnumSet<CreateFlag> flag) Validate the CreateFlag and throw exception if it is invalidstatic voidCreateFlag.validateForAppend(EnumSet<CreateFlag> flag) Validate the CreateFlag for the append operation. -
Uses of CreateFlag in org.apache.hadoop.fs.impl
Methods in org.apache.hadoop.fs.impl that return types with arguments of type CreateFlagModifier and TypeMethodDescriptionFileSystemMultipartUploaderBuilder.getFlags()protected EnumSet<CreateFlag>MultipartUploaderBuilderImpl.getFlags() -
Uses of CreateFlag in org.apache.hadoop.fs.viewfs
Method parameters in org.apache.hadoop.fs.viewfs with type arguments of type CreateFlagModifier and TypeMethodDescriptionViewFs.createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt, boolean createParent) ViewFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) -
Uses of CreateFlag in org.apache.hadoop.io
Method parameters in org.apache.hadoop.io with type arguments of type CreateFlagModifier and TypeMethodDescriptionstatic SequenceFile.WriterSequenceFile.createWriter(FileContext fc, Configuration conf, Path name, Class keyClass, Class valClass, SequenceFile.CompressionType compressionType, CompressionCodec codec, SequenceFile.Metadata metadata, EnumSet<CreateFlag> createFlag, Options.CreateOpts... opts) Construct the preferred type of SequenceFile Writer.