메소드 | 설명 | |
---|---|---|
AddContactPoint ( |
Add contact point. See Builder.AddContactPoint(string) for more details on contact points.
|
|
AddContactPoint ( |
Add contact point. See Builder.AddContactPoint(string) for more details on contact points.
|
|
AddContactPoint ( string address ) : |
Adds a contact point. Contact points are addresses of Cassandra nodes that the driver uses to discover the cluster topology. Only one contact point is required (the driver will retrieve the address of the other nodes automatically), but it is usually a good idea to provide more than one contact point, as if that unique contact point is not available, the driver won't be able to initialize itself correctly. However, this can be useful if the Cassandra nodes are behind a router and are not accessed directly. Note that if you are in this situation (Cassandra nodes are behind a router, not directly accessible), you almost surely want to provide a specific |
|
AddContactPoints ( ) : |
Add contact points. See Builder.AddContactPoint(string) for more details on contact points.
|
|
AddContactPoints ( IEnumerable |
Add contact points. See Builder.AddContactPoint for more details on contact points.
|
|
AddContactPoints ( IEnumerable |
Add contact points. See Builder.AddContactPoint for more details on contact points.
|
|
AddContactPoints ( IEnumerable |
Add contact points. See Builder.AddContactPoint for more details on contact points.
|
|
Build ( ) : |
Builds the cluster with the configured set of initial contact points and policies.
|
|
DseClusterBuilder ( ) : System |
Creates a new instance of DseClusterBuilder.
|
|
WithAddressTranslator ( IAddressTranslator addressTranslator ) : |
Configures the address translater to use for the new cluster. See |
|
WithAuthProvider ( IAuthProvider authProvider ) : |
Use the specified AuthProvider when connecting to Cassandra hosts. Use this method when a custom authentication scheme is in place. You shouldn't call both this method and {@code withCredentials}' on the same
|
|
WithCompression ( CompressionType compression ) : |
Sets the compression to use for the transport.
|
|
WithConnectionString ( string connectionString ) : |
Configure the cluster by applying settings from ConnectionString.
|
|
WithCredentials ( String username, String password ) : |
Uses the provided credentials when connecting to Cassandra hosts. This should be used if the Cassandra cluster has been configured to use the
|
|
WithCustomCompressor ( IFrameCompressor compressor ) : |
Sets a custom compressor to be used for the compression type. If specified, the compression type is mandatory. If not specified the driver default compressor will be use for the compression type.
|
|
WithDefaultKeyspace ( string defaultKeyspace ) : |
Sets default keyspace name for the created cluster.
|
|
WithGraphOptions ( GraphOptions options ) : |
Sets the DSE Graph options.
|
|
WithLoadBalancingPolicy ( ILoadBalancingPolicy policy ) : |
Configures the load balancing policy to use for the new cluster. If no load balancing policy is set through this method, DseLoadBalancingPolicy will be used instead.
|
|
WithMaxProtocolVersion ( byte version ) : |
Limits the maximum protocol version used to connect to the nodes, when it is not set protocol version used between the driver and the Cassandra cluster is negotiated upon establishing the first connection. Useful for using the driver against a cluster that contains nodes with different major/minor versions of Cassandra. For example, preparing for a rolling upgrade of the Cluster. Some Cassandra features are only available with a specific protocol version. |
|
WithPoolingOptions ( Cassandra.PoolingOptions value ) : |
Sets the pooling options for the cluster.
|
|
WithPort ( int port ) : |
The port to use to connect to all Cassandra hosts. If not set through this method, the default port (9042) will be used instead.
|
|
WithQueryOptions ( QueryOptions options ) : |
Sets the QueryOptions to use for the newly created Cluster. If no query options are set through this method, default query options will be used.
|
|
WithQueryTimeout ( int queryAbortTimeout ) : DseClusterBuilder |
Specifies the number of milliseconds that the driver should wait for the response before the query times out in a synchronous operation. This will cause that synchronous operations like ISession.Execute(string) to throw a System.TimeoutException after the specified number of milliseconds. Default timeout value is set to20,000 (20 seconds).If you want to define a read timeout at a lower level, you can use Cassandra.SocketOptions.SetReadTimeoutMillis(int). |
|
WithReconnectionPolicy ( IReconnectionPolicy policy ) : DseClusterBuilder |
Configure the reconnection policy to use for the new cluster. If no reconnection policy is set through this method, Policies.DefaultReconnectionPolicy will be used instead.
|
|
WithRetryPolicy ( IRetryPolicy policy ) : DseClusterBuilder |
Configure the retry policy to use for the new cluster. If no retry policy is set through this method, IdempotenceAwareRetryPolicy will be used instead.
|
|
WithSSL ( ) : DseClusterBuilder |
Enables the use of SSL for the created Cluster. Calling this method will use default SSL options. If SSL is enabled, the driver will not connect to any Cassandra nodes that doesn't have SSL enabled and it is strongly advised to enable SSL on every Cassandra node if you plan on using SSL in the driver. Note that SSL certificate common name(CN) on Cassandra node must match Cassandra node hostname. |
|
WithSSL ( SSLOptions sslOptions ) : DseClusterBuilder |
Enables the use of SSL for the created Cluster using the provided options. If SSL is enabled, the driver will not connect to any Cassandra nodes that doesn't have SSL enabled and it is strongly advised to enable SSL on every Cassandra node if you plan on using SSL in the driver. Note that SSL certificate common name(CN) on Cassandra node must match Cassandra node hostname. |
|
WithSocketOptions ( SocketOptions value ) : DseClusterBuilder |
Configures the socket options that are going to be used to create the connections to the hosts.
|
|
WithSpeculativeExecutionPolicy ( ISpeculativeExecutionPolicy policy ) : DseClusterBuilder |
Configure the speculative execution to use for the new cluster. If no speculative execution policy is set through this method, Cassandra.Policies.DefaultSpeculativeExecutionPolicy will be used instead.
|
|
WithTypeSerializers ( TypeSerializerDefinitions definitions ) : DseClusterBuilder |
Sets the TypeSerializer{T} to be used, replacing the default ones.
|
public AddContactPoint ( |
||
address | address of the node to add as contact point | |
리턴 |
public AddContactPoint ( |
||
address | address of the node to add as contact point | |
리턴 |
public AddContactPoint ( string address ) : |
||
address | string | the address of the node to connect to |
리턴 |
public AddContactPoints ( IEnumerable |
||
addresses | IEnumerable |
addresses of the nodes to add as contact point |
리턴 |
public AddContactPoints ( IEnumerable |
||
addresses | IEnumerable |
addresses of the nodes to add as contact point /// |
리턴 |
public AddContactPoints ( IEnumerable |
||
addresses | IEnumerable |
addresses of the nodes to add as contact point |
리턴 |
public WithAddressTranslator ( IAddressTranslator addressTranslator ) : |
||
addressTranslator | IAddressTranslator | the translater to use. |
리턴 |
public WithAuthProvider ( IAuthProvider authProvider ) : |
||
authProvider | IAuthProvider | the AuthProvider"> to use to login to Cassandra hosts. |
리턴 |
public WithCompression ( CompressionType compression ) : |
||
compression | CompressionType | the compression to set |
리턴 |
public WithConnectionString ( string connectionString ) : |
||
connectionString | string | the ConnectionString to use |
리턴 |
public WithCredentials ( String username, String password ) : |
||
username | String | the user name to use to login to Cassandra hosts. |
password | String | the password corresponding to |
리턴 |
public WithCustomCompressor ( IFrameCompressor compressor ) : |
||
compressor | IFrameCompressor | Implementation of IFrameCompressor |
리턴 |
public WithDefaultKeyspace ( string defaultKeyspace ) : |
||
defaultKeyspace | string | Default keyspace name. |
리턴 |
public WithGraphOptions ( GraphOptions options ) : |
||
options | GraphOptions | |
리턴 |
public WithLoadBalancingPolicy ( ILoadBalancingPolicy policy ) : |
||
policy | ILoadBalancingPolicy | the load balancing policy to use |
리턴 |
public WithMaxProtocolVersion ( byte version ) : |
||
version | byte |
/// |
리턴 |
public WithPoolingOptions ( Cassandra.PoolingOptions value ) : |
||
value | Cassandra.PoolingOptions | |
리턴 |
public WithPort ( int port ) : |
||
port | int | the port to set. |
리턴 |
public WithQueryOptions ( QueryOptions options ) : |
||
options | QueryOptions | the QueryOptions to use. |
리턴 |
public WithQueryTimeout ( int queryAbortTimeout ) : DseClusterBuilder | ||
queryAbortTimeout | int | Timeout specified in milliseconds. |
리턴 | DseClusterBuilder |
public WithReconnectionPolicy ( IReconnectionPolicy policy ) : DseClusterBuilder | ||
policy | IReconnectionPolicy | the reconnection policy to use |
리턴 | DseClusterBuilder |
public WithRetryPolicy ( IRetryPolicy policy ) : DseClusterBuilder | ||
policy | IRetryPolicy | the retry policy to use |
리턴 | DseClusterBuilder |
public WithSSL ( SSLOptions sslOptions ) : DseClusterBuilder | ||
sslOptions | SSLOptions | SSL options to use. |
리턴 | DseClusterBuilder |
public WithSocketOptions ( SocketOptions value ) : DseClusterBuilder | ||
value | SocketOptions | |
리턴 | DseClusterBuilder |
public WithSpeculativeExecutionPolicy ( ISpeculativeExecutionPolicy policy ) : DseClusterBuilder | ||
policy | ISpeculativeExecutionPolicy | the speculative execution policy to use |
리턴 | DseClusterBuilder |
public WithTypeSerializers ( TypeSerializerDefinitions definitions ) : DseClusterBuilder | ||
definitions | TypeSerializerDefinitions | |
리턴 | DseClusterBuilder |