C# Class FluentCassandra.Connections.ConnectionBuilder

Inheritance: FluentCassandra.Connections.IConnectionBuilder
Mostra file Open project: nativex/fluentcassandra Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetConnectionString ( ) : string
InitializeConnectionString ( string connectionString ) : void

Method Details

ConnectionBuilder() public method

public ConnectionBuilder ( string connectionString ) : System
connectionString string
return System

ConnectionBuilder() public method

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
return System

ConnectionBuilder() public method

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
return System