Class SqlConnectorConfiguration
SQL connector configuration (for ODBC and JDBC).
Inheritance
Namespace: Apache.Ignite.Core.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public class SqlConnectorConfiguration : object
Constructors
SqlConnectorConfiguration()
Initializes a new instance of the SqlConnectorConfiguration class.
Declaration
public SqlConnectorConfiguration()
Fields
DefaultMaxOpenCursorsPerConnection
Default maximum number of open cursors per connection.
Declaration
public const int DefaultMaxOpenCursorsPerConnection = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultPort
Default port.
Declaration
public const int DefaultPort = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultPortRange
Default port range.
Declaration
public const int DefaultPortRange = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultSocketBufferSize
Default socket buffer size.
Declaration
public const int DefaultSocketBufferSize = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultTcpNoDelay
Default value of TcpNoDelay property.
Declaration
public const bool DefaultTcpNoDelay = null
Field Value
Type | Description |
---|---|
System.Boolean |
DefaultThreadPoolSize
Default SQL connector thread pool size.
Declaration
public static readonly int DefaultThreadPoolSize
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Host
Gets or sets the host.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxOpenCursorsPerConnection
Gets or sets the maximum open cursors per connection.
Declaration
public int MaxOpenCursorsPerConnection { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Port
Gets or sets the port.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PortRange
Gets or sets the port range.
Declaration
public int PortRange { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SocketReceiveBufferSize
Gets or sets the size of the socket receive buffer. When set to 0, operating system default is used.
Declaration
public int SocketReceiveBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SocketSendBufferSize
Gets or sets the size of the socket send buffer. When set to 0, operating system default is used.
Declaration
public int SocketSendBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TcpNoDelay
Gets or sets the value for TCP_NODELAY
socket option. Each
socket will be opened using provided value.
Setting this option to true
disables Nagle's algorithm
for socket decreasing latency and delivery time for small messages.
For systems that work under heavy network load it is advisable to set this value to false
.
Declaration
public bool TcpNoDelay { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ThreadPoolSize
Gets or sets the size of the thread pool.
Declaration
public int ThreadPoolSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |