Class FSOperations.FSCreate

java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSCreate
All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Void>
Enclosing class:
FSOperations

@Private public static class FSOperations.FSCreate extends Object implements FileSystemAccess.FileSystemExecutor<Void>
Executor that performs a create FileSystemAccess files system operation.
  • Constructor Details

    • FSCreate

      public FSCreate(InputStream is, String path, short perm, boolean override, short repl, long blockSize, short unmaskedPerm)
      Creates a Create executor.
      Parameters:
      is - input stream to for the file to create.
      path - path of the file to create.
      perm - permission for the file.
      override - if the file should be overriden if it already exist.
      repl - the replication factor for the file.
      blockSize - the block size for the file.
      unmaskedPerm - unmasked permissions for the file
  • Method Details