Uses of Enum Class org.apache.hadoop.fs.CreateFlag (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.fs, enum: CreateFlag

# Uses of Enum Class
org.apache.hadoop.fs.CreateFlag

Packages that use CreateFlag
Package
Description
org.apache.hadoop.fs
Implementations of `AbstractFileSystem` for hdfs over rpc and hdfs over web.
org.apache.hadoop.fs.adl
Supporting classes for metrics instrumentation.
org.apache.hadoop.fs.impl
This package contains implementation classes for use inside filesystems.
org.apache.hadoop.fs.viewfs
ViewFileSystem and ViewFileSystemOverloadScheme classes.
org.apache.hadoop.io
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 CreateFlag
  Modifier and Type
  Method
  Description
  `static CreateFlag`
  CreateFlag.`valueOf(String name)`
  Returns 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 CreateFlag
  Modifier and Type
  Method
  Description
  `protected EnumSet<CreateFlag>`
  FSDataOutputStreamBuilder.`getFlags()`
  Method parameters in org.apache.hadoop.fs with type arguments of type CreateFlag
  Modifier and Type
  Method
  Description
  `final FSDataOutputStream`
  AbstractFileSystem.`create(Path f, EnumSet<CreateFlag> createFlag, org.apache.hadoop.fs.Options.CreateOpts... opts)`
  The specification of this method matches that of `FileContext.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).
  `FSDataOutputStream`
  ChecksumFileSystem.`create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt)`
  `FSDataOutputStream`
  FileContext.`create(Path f, EnumSet<CreateFlag> createFlag, org.apache.hadoop.fs.Options.CreateOpts... opts)`
  Create or overwrite file on indicated path and returns an output stream for writing into the file.
  `FSDataOutputStream`
  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.
  `FSDataOutputStream`
  FileSystem.`create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt)`
  Create an FSDataOutputStream at the indicated Path with a custom checksum option.
  `FSDataOutputStream`
  FilterFileSystem.`create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt)`
  `abstract FSDataOutputStream`
  AbstractFileSystem.`createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt, boolean createParent)`
  The specification of this method matches that of `AbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...)` except that the opts have been declared explicitly.
  `FSDataOutputStream`
  ChecksumFileSystem.`createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress)`
  `FSDataOutputStream`
  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.
  `FSDataOutputStream`
  FilterFileSystem.`createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress)`
  `FSDataOutputStream`
  RawLocalFileSystem.`createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress)`
  `protected FSDataOutputStream`
  FileSystem.`primitiveCreate(Path f, FsPermission absolutePermission, EnumSet<CreateFlag> flag, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt)`
  Deprecated.
  `protected FSDataOutputStream`
  FilterFileSystem.`primitiveCreate(Path f, FsPermission absolutePermission, EnumSet<CreateFlag> flag, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt)`
  `static void`
  CreateFlag.`validate(Object path, boolean pathExists, EnumSet<CreateFlag> flag)`
  Validate the CreateFlag for create operation
  `static void`
  CreateFlag.`validate(EnumSet<CreateFlag> flag)`
  Validate the CreateFlag and throw exception if it is invalid
  `static void`
  CreateFlag.`validateForAppend(EnumSet<CreateFlag> flag)`
  Validate the CreateFlag for the append operation.

- ## Uses of CreateFlag in org.apache.hadoop.fs.adl

  Method parameters in org.apache.hadoop.fs.adl with type arguments of type CreateFlag
  Modifier and Type
  Method
  Description
  `FSDataOutputStream`
  AdlFileSystem.`createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress)`
  Deprecated.
  API only for 0.20-append

- ## Uses of CreateFlag in org.apache.hadoop.fs.impl

  Methods in org.apache.hadoop.fs.impl that return types with arguments of type CreateFlag
  Modifier and Type
  Method
  Description
  `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 CreateFlag
  Modifier and Type
  Method
  Description
  `FSDataOutputStream`
  ViewFs.`createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt, boolean createParent)`
  `FSDataOutputStream`
  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 CreateFlag
  Modifier and Type
  Method
  Description
  `static org.apache.hadoop.io.SequenceFile.Writer`
  SequenceFile.`createWriter(FileContext fc, Configuration conf, Path name, Class keyClass, Class valClass, SequenceFile.CompressionType compressionType, CompressionCodec codec, org.apache.hadoop.io.SequenceFile.Metadata metadata, EnumSet<CreateFlag> createFlag, org.apache.hadoop.fs.Options.CreateOpts... opts)`
  Construct the preferred type of SequenceFile Writer.