Interface IDseCluster
Represents a DSE cluster client that contains information and known state of a DSE cluster.
Inherited Members
System.IDisposable.Dispose()
Namespace: Dse
Assembly: Dse.dll
Syntax
public interface IDseCluster : ICluster, IDisposable
Properties
Configuration
Gets the DSE cluster client configuration.
Declaration
DseConfiguration Configuration { get; }
Property Value
Type | Description |
---|---|
DseConfiguration |
Methods
Connect()
Creates a new DSE session on this cluster and initializes it.
Declaration
IDseSession Connect()
Returns
Type | Description |
---|---|
IDseSession | A new IDseSession instance. |
Connect(String)
Creates a new DSE session on this cluster, initializes it and sets the keyspace to the provided one.
Declaration
IDseSession Connect(string keyspace)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyspace | The keyspace to connect to |
Returns
Type | Description |
---|---|
IDseSession | A new IDseSession instance. |
ConnectAsync()
Creates a new DSE session on this cluster.
Declaration
Task<IDseSession> ConnectAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IDseSession> |
ConnectAsync(String)
Creates a new DSE session on this cluster and using a keyspace an existing keyspace.
Declaration
Task<IDseSession> ConnectAsync(string keyspace)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyspace | Case-sensitive keyspace name to use |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IDseSession> |