Example usage for Java org.apache.hadoop.fs CreateFlag fields, constructors, methods, implement or subclass
The text is from its open source code.
CreateFlag | CREATE Create a file. |
CreateFlag | OVERWRITE Truncate/overwrite a file. |
CreateFlag | APPEND Append to a file. |
CreateFlag | SYNC_BLOCK Force closed blocks to disk. |
CreateFlag | NEW_BLOCK Append data to a new block instead of the end of the last partial block. |
void | validate(EnumSet Validate the CreateFlag and throw exception if it is invalid |
void | validateForAppend(EnumSet Validate the CreateFlag for the append operation. |