Skip to content

Class ClickHouseDataOptions

Namespace: Cephalon.Data.ClickHouse.Configuration
Assembly: Cephalon.Data.ClickHouse.dll

Options controlling how Cephalon.Data.ClickHouse connects to ClickHouse and registers data services.

public sealed class ClickHouseDataOptions

object ← ClickHouseDataOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

The provider identifier used in capability and descriptor metadata.

public const string ProviderId = "clickhouse"

string

The ClickHouse database. Defaults to “default”.

public string Database { get; set; }

string

The ClickHouse host (e.g. “localhost”).

public string Host { get; set; }

string

ClickHouse password. Defaults to empty.

public string Password { get; set; }

string

The ClickHouse HTTP port. Defaults to 8123.

public int Port { get; set; }

int

When true, registers backed by a ClickHouse ReplacingMergeTree table.

public bool RegisterInbox { get; set; }

bool

When true, registers backed by a ClickHouse ReplacingMergeTree table.

public bool RegisterOutbox { get; set; }

bool

Optional prefix applied to all managed table names.

public string TablePrefix { get; set; }

string

ClickHouse username. Defaults to “default”.

public string Username { get; set; }

string

Builds a ClickHouse ADO.NET connection string from the configured options.

public string BuildConnectionString()

string