◆ GPUdb() [1/4]
Pass a single HttpURL and options to instantiate a GPUdb object.
Parameters
| [in] | url | An HttpURL object containing the single host URL for the client. If no primary URL is specified via the options, the given URL will be used as the primary URL. |
| [in] | options | An optional GPUdb::Options object containing options, e.g. primary cluster URL, used to the create the GPUdb object. |
◆ GPUdb() [2/4]
Pass a single or multiple, comma-separated URLs as a string and optional options to instantiate a GPUdb object.
Parameters
| [in] | url | An std::string containing the one host URL or a comma-separated string with multiple host URLs for the client. For example ‘http://172.42.40.1:9191,,http://172.42.40.2:9191’. If a single URL is given, and no primary URL is specified via the options, the given URL will be used as the primary URL. |
| [in] | options | An optional GPUdb::Options object containing options, e.g. primary cluster URL, used to the create the GPUdb object. |
◆ GPUdb() [3/4]
Pass multiple HttpURLs and optional options to instantiate a GPUdb object.
Parameters
| [in] | urls | The host URLs for the client. If a single URL is given, and no primary URL is specified via the options, the given URL will be used as the primary URL. |
| [in] | options | An optional GPUdb::Options object containing options, e.g. primary cluster URL, used to the create the GPUdb object. |
◆ GPUdb() [4/4]
Pass multiple strings, each containing a single URL, and optional options to instantiate a GPUdb object.
Parameters
| [in] | urls | The host URLs for the client. Each string must contain a single valid URL. If a single URL is given, and no primary URL is specified via the options, the given URL will be used as the primary URL. |
| [in] | options | An optional GPUdb::Options object containing options, e.g. primary cluster URL, used to the create the GPUdb object. |