createDirectory
public CreateDirectoryResponse createDirectory(CreateDirectoryRequest request) throws GPUdbException Creates a new directory in KiFS. The new directory serves as a location in which the user can upload files usinguploadFiles.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.createDirectory
public CreateDirectoryResponse createDirectory(String directoryName, Map<String, String> options) throws GPUdbException Creates a new directory in KiFS. The new directory serves as a location in which the user can upload files usinguploadFiles.Parameters:directoryName- Name of the directory in KiFS to be created.options- Optional parameters.CREATE_HOME_DIRECTORY: When set, a home directory is created for the user name provided in the value. ThedirectoryNamemust be an empty string in this case. The user must exist.DATA_LIMIT: The maximum capacity, in bytes, to apply to the created directory. Set to -1 to indicate no upper limit. If empty, the system default limit is applied.NO_ERROR_IF_EXISTS: IfTRUE, does not return an error if the directory already exists. Supported values:The default value isFALSE.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.