|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CreateFlag | |
---|---|
org.apache.hadoop.fs | An abstract file system API. |
org.apache.hadoop.fs.viewfs | |
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 | |
---|---|
static CreateFlag |
CreateFlag.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CreateFlag[] |
CreateFlag.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Method parameters in org.apache.hadoop.fs with type arguments of type CreateFlag | |
---|---|
FSDataOutputStream |
AbstractFileSystem.create(Path f,
EnumSet<CreateFlag> createFlag,
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. |
FSDataOutputStream |
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. |
abstract FSDataOutputStream |
AbstractFileSystem.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
int bytesPerChecksum,
boolean createParent)
The specification of this method matches that of AbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...) except that the opts
have been declared explicitly. |
protected FSDataOutputStream |
FilterFileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
int bytesPerChecksum)
|
protected FSDataOutputStream |
FileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
int bytesPerChecksum)
Deprecated. |
static void |
CreateFlag.validate(EnumSet<CreateFlag> flag)
Validate the CreateFlag and throw exception if it is invalid |
static void |
CreateFlag.validate(Object path,
boolean pathExists,
EnumSet<CreateFlag> flag)
Validate the CreateFlag for create operation |
Uses of CreateFlag in org.apache.hadoop.fs.viewfs |
---|
Method parameters in org.apache.hadoop.fs.viewfs with type arguments of type CreateFlag | |
---|---|
FSDataOutputStream |
ViewFs.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
int bytesPerChecksum,
boolean createParent)
|
Uses of CreateFlag in org.apache.hadoop.io |
---|
Method parameters in org.apache.hadoop.io with type arguments of type CreateFlag | |
---|---|
static SequenceFile.Writer |
SequenceFile.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |