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 | |
---|---|---|
ExecuteGraph(IGraphStatement) |
Executes a graph statement.
| |
ExecuteGraph(IGraphStatement, String) |
Executes a graph statement with the provided execution profile.
The execution profile must have been added previously to the DseCluster
using WithExecutionProfiles(ActionIExecutionProfileOptions).
| |
ExecuteGraphAsync(IGraphStatement) |
Executes a graph statement.
| |
ExecuteGraphAsync(IGraphStatement, String) |
Executes a graph statement asynchronously with the provided graph execution profile.
The graph execution profile must have been added previously to the DseCluster
using WithExecutionProfiles(ActionIExecutionProfileOptions).
|
Name | Description | |
---|---|---|
CreateBatch | Overloaded. (Defined by SessionExtensions.) | |
CreateBatch(BatchType) | Overloaded. (Defined by SessionExtensions.) | |
GetState |
Gets a snapshot containing information on the connections pools held by this Client at the current time.
(Defined by Extensions.)The information provided in the returned object only represents the state at the moment this method was called and it's not maintained in sync with the driver metadata. | |
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. |