| IDseSession Interface |
Session instances are designed to be long-lived, thread-safe and usually a single instance is enough per application.
Namespace: Dse
public interface IDseSession : ISession, IDisposable
The IDseSession type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginExecute(IStatement, AsyncCallback, Object) |
Begins asynchronous execute operation
(Inherited from ISession.) | |
| BeginExecute(String, ConsistencyLevel, AsyncCallback, Object) |
Begins asynchronous execute operation
(Inherited from ISession.) | |
| BeginPrepare |
Begins asynchronous prepare operation
(Inherited from ISession.) | |
| ChangeKeyspace |
Switches to the specified keyspace.
(Inherited from ISession.) | |
| CreateKeyspace |
Creates new keyspace in current cluster.
(Inherited from ISession.) | |
| CreateKeyspaceIfNotExists |
Creates new keyspace in current cluster.
If keyspace with specified name already exists, then this method does nothing.
(Inherited from ISession.) | |
| DeleteKeyspace |
Deletes specified keyspace from current cluster.
If keyspace with specified name does not exist, then exception will be thrown.
(Inherited from ISession.) | |
| DeleteKeyspaceIfExists |
Deletes specified keyspace from current cluster.
If keyspace with specified name does not exist, then this method does nothing.
(Inherited from ISession.) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| EndExecute |
Ends asynchronous execute operation
(Inherited from ISession.) | |
| EndPrepare |
Ends asynchronous prepare operation
(Inherited from ISession.) | |
| Execute(String) |
Executes the provided query.
(Inherited from ISession.) | |
| Execute(IStatement) |
Executes the provided query.
(Inherited from ISession.) | |
| Execute(String, ConsistencyLevel) |
Executes the provided query.
(Inherited from ISession.) | |
| Execute(String, Int32) |
Executes the provided query.
(Inherited from ISession.) | |
| ExecuteAsync |
Executes a query asynchronously
(Inherited from ISession.) | |
| ExecuteGraph |
Executes a graph statement.
| |
| ExecuteGraphAsync |
Executes a graph statement.
| |
| Prepare(String) |
Prepares the provided query string.
(Inherited from ISession.) | |
| Prepare(String, IDictionaryString, Byte) |
Prepares the query string, sending the custom payload request.
(Inherited from ISession.) | |
| PrepareAsync(String) |
Prepares the provided query string asynchronously.
(Inherited from ISession.) | |
| PrepareAsync(String, IDictionaryString, Byte) |
Prepares the provided query string asynchronously, and sending the custom payload request.
(Inherited from ISession.) | |
| WaitForSchemaAgreement(IPEndPoint) | Obsolete. (Inherited from ISession.) | |
| WaitForSchemaAgreement(RowSet) | Obsolete. (Inherited from ISession.) |
| Name | Description | |
|---|---|---|
| CreateBatch | (Defined by SessionExtensions.) | |
| GetTableTEntity | Extension method used for backward-compatibility, use TableTEntity(ISession) constructor instead. Creates a new instance of the Linq IQueryProvider that represents a table in Cassandra using the mapping configuration provided. Fluent configuration or attributes can be used to define mapping information. |
| Name | Description | |
|---|---|---|
| BinaryProtocolVersion |
Gets the Cassandra native binary protocol version
(Inherited from ISession.) | |
| Cluster |
Gets the cluster information and state
(Inherited from ISession.) | |
| IsDisposed |
Determines if the object has been disposed.
(Inherited from ISession.) | |
| Keyspace |
Gets name of currently used keyspace.
(Inherited from ISession.) | |
| UserDefinedTypes |
Gets the user defined type mappings
(Inherited from ISession.) |