snowflake::ingest::streaming::ClientOptions Struct Referencefinal

Configuration for constructing a client. More...

#include <snowflake/ingest/streaming/client.h>

Public Attributes

std::string client_name
 Client name (unique among clients writing to the same pipe).
std::string db_name
 Database name.
std::string schema_name
 Schema name.
std::string pipe_name
 Pipe name.
std::string profile_json
 Path to a JSON credentials file.
std::unordered_map<std::string, std::string> properties
 Inline connection properties (user, private_key, url, ...).

Detailed Description

Configuration for constructing a client.

Member Data Documentation

profile_json

std::string ClientOptions::profile_json

Path to a JSON credentials file.

Attention
At least one of profile_json or properties is required; if both are set, properties override keys from the file.

properties

std::unordered_map<std::string, std::string> ClientOptions::properties

Inline connection properties (user, private_key, url, ...).

Attention
At least one of profile_json or properties is required; if both are set, these override keys from profile_json.