C# Класс FluentCassandra.Connections.ConnectionBuilder

Наследование: FluentCassandra.Connections.IConnectionBuilder
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConnectionBuilder ( string connectionString ) : System

ConnectionBuilder ( string keyspace, Server server, bool pooling = false, int minPoolSize, int maxPoolSize = 100, int connectionLifetime, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ServerDefault, bool compressCqlQueries = true, string username = null, string password = null ) : System
ConnectionBuilder ( string keyspace, string host, int port = Server.DefaultPort, int connectionTimeout = Server.DefaultTimeout, bool pooling = false, int minPoolSize, int maxPoolSize = 100, int connectionLifetime, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ServerDefault, bool compressCqlQueries = true, string username = null, string password = null ) : System

Приватные методы

Метод Описание
GetConnectionString ( ) : string
InitializeConnectionString ( string connectionString ) : void

Описание методов

ConnectionBuilder() публичный Метод

public ConnectionBuilder ( string connectionString ) : System
connectionString string
Результат System

ConnectionBuilder() публичный Метод

public ConnectionBuilder ( string keyspace, Server server, bool pooling = false, int minPoolSize, int maxPoolSize = 100, int connectionLifetime, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ServerDefault, bool compressCqlQueries = true, string username = null, string password = null ) : System
keyspace string
server Server
pooling bool
minPoolSize int
maxPoolSize int
connectionLifetime int
connectionType ConnectionType
bufferSize int
read ConsistencyLevel
write ConsistencyLevel
cqlVersion string
compressCqlQueries bool
username string
password string
Результат System

ConnectionBuilder() публичный Метод

public ConnectionBuilder ( string keyspace, string host, int port = Server.DefaultPort, int connectionTimeout = Server.DefaultTimeout, bool pooling = false, int minPoolSize, int maxPoolSize = 100, int connectionLifetime, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ServerDefault, bool compressCqlQueries = true, string username = null, string password = null ) : System
keyspace string
host string
port int
connectionTimeout int
pooling bool
minPoolSize int
maxPoolSize int
connectionLifetime int
connectionType ConnectionType
bufferSize int
read ConsistencyLevel
write ConsistencyLevel
cqlVersion string
compressCqlQueries bool
username string
password string
Результат System