Table of Contents

Class IgniteDbConnectionStringBuilder

Namespace
Apache.Ignite.Sql
Assembly
Apache.Ignite.dll

Ignite connection string builder.

[SuppressMessage("Design", "CA1010:Generic interface should also be implemented", Justification = "Reviewed.")]
public sealed class IgniteDbConnectionStringBuilder : DbConnectionStringBuilder, IDictionary, ICollection, IEnumerable, ICustomTypeDescriptor
Inheritance
IgniteDbConnectionStringBuilder
Implements
Inherited Members

Constructors

IgniteDbConnectionStringBuilder()

Initializes a new instance of the IgniteDbConnectionStringBuilder class.

public IgniteDbConnectionStringBuilder()

IgniteDbConnectionStringBuilder(string)

Initializes a new instance of the IgniteDbConnectionStringBuilder class.

public IgniteDbConnectionStringBuilder(string connectionString)

Parameters

connectionString string

Connection string.

Fields

EndpointSeparator

Gets the character used to separate multiple endpoints in the connection string.

public const char EndpointSeparator = ','

Field Value

char

Properties

Endpoints

Gets or sets the Ignite endpoints. Multiple endpoints can be specified separated by comma, e.g. "localhost:10800,localhost:10801". If the port is not specified, the default port 10800 is used.

[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Reviewed.")]
public IList<string> Endpoints { get; set; }

Property Value

IList<string>

HeartbeatInterval

Gets or sets the heartbeat interval. See HeartbeatInterval for more details.

public TimeSpan HeartbeatInterval { get; set; }

Property Value

TimeSpan

this[string]

[AllowNull]
public override object this[string keyword] { get; set; }

Parameters

keyword string

Property Value

object

LoggerFactory

Gets or sets the logger factory type name. See LoggerFactory for more details.

public string? LoggerFactory { get; set; }

Property Value

string

OperationTimeout

Gets or sets the operation timeout. See OperationTimeout for more details.

public TimeSpan OperationTimeout { get; set; }

Property Value

TimeSpan

Password

Gets or sets the password for authentication.

public string? Password { get; set; }

Property Value

string

ReResolveAddressesInterval

Gets or sets the re-resolve interval. See ReResolveAddressesInterval for more details.

public TimeSpan ReResolveAddressesInterval { get; set; }

Property Value

TimeSpan

ReconnectInterval

Gets or sets the reconnect interval. See ReconnectInterval for more details.

public TimeSpan ReconnectInterval { get; set; }

Property Value

TimeSpan

SocketTimeout

Gets or sets the socket timeout. See SocketTimeout for more details.

public TimeSpan SocketTimeout { get; set; }

Property Value

TimeSpan

SqlPartitionAwarenessMetadataCacheSize

Gets or sets the SQL partition awareness metadata cache size. See SqlPartitionAwarenessMetadataCacheSize for more details.

public int SqlPartitionAwarenessMetadataCacheSize { get; set; }

Property Value

int

SslEnabled

Gets or sets a value indicating whether SSL is enabled.

public bool SslEnabled { get; set; }

Property Value

bool

Username

Gets or sets the username for authentication.

public string? Username { get; set; }

Property Value

string

Methods

ToIgniteClientConfiguration()

Converts this instance to IgniteClientConfiguration.

public IgniteClientConfiguration ToIgniteClientConfiguration()

Returns

IgniteClientConfiguration

Ignite client configuration.