Skip to main content

◆ createDirectory() [1/2]

CreateDirectoryResponse kinetica.Kinetica.createDirectory (CreateDirectoryRequestrequest_)
inline

Creates a new directory in KiFS.

The new directory serves as a location in which the user can upload files using uploadFiles.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 19921 of file KineticaFunctions.cs.

◆ createDirectory() [2/2]

CreateDirectoryResponse kinetica.Kinetica.createDirectory (stringdirectory_name,
IDictionary< string, string >options = null )
inline

Creates a new directory in KiFS.

The new directory serves as a location in which the user can upload files using uploadFiles.

Parameters
directory_nameName of the directory in KiFS to be created.
optionsOptional parameters.
  • CREATE_HOME_DIRECTORY: When set, a home directory is created for the user name provided in the value. The directory_name must 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: If TRUE, does not return an error if the directory already exists. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 20005 of file KineticaFunctions.cs.

◆ CreateDirectoryAsync() [1/2]

async System.Threading.Tasks.Task< CreateDirectoryResponse > kinetica.Kinetica.CreateDirectoryAsync (CreateDirectoryRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Creates a new directory in KiFS.

(async)

The new directory serves as a location in which the user can upload files using uploadFiles.

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 19941 of file KineticaFunctions.cs.

◆ CreateDirectoryAsync() [2/2]

async System.Threading.Tasks.Task< CreateDirectoryResponse > kinetica.Kinetica.CreateDirectoryAsync (stringdirectory_name,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Creates a new directory in KiFS.

(async)

The new directory serves as a location in which the user can upload files using uploadFiles.

Parameters
directory_nameName of the directory in KiFS to be created.
optionsOptional parameters.
  • CREATE_HOME_DIRECTORY: When set, a home directory is created for the user name provided in the value. The directory_name must 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: If TRUE, does not return an error if the directory already exists. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 20069 of file KineticaFunctions.cs.