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 ClickHouseDataOptionsInheritance
Section titled “Inheritance”object ← ClickHouseDataOptions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Fields
Section titled “Fields”ProviderId
Section titled “ ProviderId”The provider identifier used in capability and descriptor metadata.
public const string ProviderId = "clickhouse"Field Value
Section titled “Field Value”Properties
Section titled “Properties”Database
Section titled “ Database”The ClickHouse database. Defaults to “default”.
public string Database { get; set; }Property Value
Section titled “Property Value”The ClickHouse host (e.g. “localhost”).
public string Host { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”ClickHouse password. Defaults to empty.
public string Password { get; set; }Property Value
Section titled “Property Value”The ClickHouse HTTP port. Defaults to 8123.
public int Port { get; set; }Property Value
Section titled “Property Value”RegisterInbox
Section titled “ RegisterInbox”When true, registers
public bool RegisterInbox { get; set; }Property Value
Section titled “Property Value”RegisterOutbox
Section titled “ RegisterOutbox”When true, registers
public bool RegisterOutbox { get; set; }Property Value
Section titled “Property Value”TablePrefix
Section titled “ TablePrefix”Optional prefix applied to all managed table names.
public string TablePrefix { get; set; }Property Value
Section titled “Property Value”Username
Section titled “ Username”ClickHouse username. Defaults to “default”.
public string Username { get; set; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”BuildConnectionString()
Section titled “ BuildConnectionString()”Builds a ClickHouse ADO.NET connection string from the configured options.
public string BuildConnectionString()