Skip to main content

◆ createEnvironment() [1/4]

CreateEnvironmentResponse gpudb::GPUdb::createEnvironment (const CreateEnvironmentRequest &request_) const

Creates a new environment which can be used by user-defined functions (UDF).

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

◆ createEnvironment() [2/4]

CreateEnvironmentResponse & gpudb::GPUdb::createEnvironment (const CreateEnvironmentRequest &request_,
CreateEnvironmentResponse &response_ ) const

Creates a new environment which can be used by user-defined functions (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).

◆ createEnvironment() [3/4]

CreateEnvironmentResponse gpudb::GPUdb::createEnvironment (const std::string &environmentName,
const std::map< std::string, std::string > &options ) const

Creates a new environment which can be used by user-defined functions (UDF).

Parameters
[in]environmentNameName of the environment to be created.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createEnvironment() [4/4]

CreateEnvironmentResponse & gpudb::GPUdb::createEnvironment (const std::string &environmentName,
const std::map< std::string, std::string > &options,
CreateEnvironmentResponse &response_ ) const

Creates a new environment which can be used by user-defined functions (UDF).

Parameters
[in]environmentNameName of the environment to be created.
[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).