Skip to main content

◆ alterEnvironment() [1/4]

AlterEnvironmentResponse gpudb::GPUdb::alterEnvironment (const AlterEnvironmentRequest &request_) const

Alters an existing environment which can be referenced by a user-defined function (UDF).

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

◆ alterEnvironment() [2/4]

AlterEnvironmentResponse & gpudb::GPUdb::alterEnvironment (const AlterEnvironmentRequest &request_,
AlterEnvironmentResponse &response_ ) const

Alters an existing environment which can be referenced by a user-defined function (UDF).

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ alterEnvironment() [3/4]

AlterEnvironmentResponse gpudb::GPUdb::alterEnvironment (const std::string &environmentName,
const std::string &action,
const std::string &value,
const std::map< std::string, std::string > &options ) const

Alters an existing environment which can be referenced by a user-defined function (UDF).

Parameters
[in]environmentNameName of the environment to be altered.
[in]actionModification operation to be applied. Supported values:
[in]valueThe value of the modification, depending on action. For example, if action is install_package, this would be the python package name. If action is install_requirements, this would be the path of a requirements file from which to install packages. If an external data source is specified in datasource_name, this can be the path to a wheel file or source archive. Alternatively, if installing from a file (wheel or source archive), the value may be a reference to a file in KiFS.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ alterEnvironment() [4/4]

AlterEnvironmentResponse & gpudb::GPUdb::alterEnvironment (const std::string &environmentName,
const std::string &action,
const std::string &value,
const std::map< std::string, std::string > &options,
AlterEnvironmentResponse &response_ ) const

Alters an existing environment which can be referenced by a user-defined function (UDF).

Parameters
[in]environmentNameName of the environment to be altered.
[in]actionModification operation to be applied. Supported values:
[in]valueThe value of the modification, depending on action. For example, if action is install_package, this would be the python package name. If action is install_requirements, this would be the path of a requirements file from which to install packages. If an external data source is specified in datasource_name, this can be the path to a wheel file or source archive. Alternatively, if installing from a file (wheel or source archive), the value may be a reference to a file in KiFS.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).