Click or drag to resize
IDseSession Interface
Represents an ISession suitable for querying a DataStax Enterprise (DSE) Cluster.

Session instances are designed to be long-lived, thread-safe and usually a single instance is enough per application.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 1.0.0
Syntax
C#
public interface IDseSession : ISession, 
	IDisposable

The IDseSession type exposes the following members.

Methods
  NameDescription
Public methodBeginExecute(IStatement, AsyncCallback, Object)
Begins asynchronous execute operation
(Inherited from ISession.)
Public methodBeginExecute(String, ConsistencyLevel, AsyncCallback, Object)
Begins asynchronous execute operation
(Inherited from ISession.)
Public methodBeginPrepare
Begins asynchronous prepare operation
(Inherited from ISession.)
Public methodChangeKeyspace
Switches to the specified keyspace.
(Inherited from ISession.)
Public methodCreateKeyspace
Creates new keyspace in current cluster.
(Inherited from ISession.)
Public methodCreateKeyspaceIfNotExists
Creates new keyspace in current cluster. If keyspace with specified name already exists, then this method does nothing.
(Inherited from ISession.)
Public methodDeleteKeyspace
Deletes specified keyspace from current cluster. If keyspace with specified name does not exist, then exception will be thrown.
(Inherited from ISession.)
Public methodDeleteKeyspaceIfExists
Deletes specified keyspace from current cluster. If keyspace with specified name does not exist, then this method does nothing.
(Inherited from ISession.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEndExecute
Ends asynchronous execute operation
(Inherited from ISession.)
Public methodEndPrepare
Ends asynchronous prepare operation
(Inherited from ISession.)
Public methodExecute(String)
Executes the provided query.
(Inherited from ISession.)
Public methodExecute(IStatement)
Executes the provided query.
(Inherited from ISession.)
Public methodExecute(String, ConsistencyLevel)
Executes the provided query.
(Inherited from ISession.)
Public methodExecute(String, Int32)
Executes the provided query.
(Inherited from ISession.)
Public methodExecuteAsync
Executes a query asynchronously
(Inherited from ISession.)
Public methodCode exampleExecuteGraph
Executes a graph statement.
Public methodCode exampleExecuteGraphAsync
Executes a graph statement.
Public methodPrepare(String)
Prepares the provided query string.
(Inherited from ISession.)
Public methodPrepare(String, IDictionaryString, Byte)
Prepares the query string, sending the custom payload request.
(Inherited from ISession.)
Public methodPrepareAsync(String)
Prepares the provided query string asynchronously.
(Inherited from ISession.)
Public methodPrepareAsync(String, IDictionaryString, Byte)
Prepares the provided query string asynchronously, and sending the custom payload request.
(Inherited from ISession.)
Public methodWaitForSchemaAgreement(IPEndPoint) Obsolete. (Inherited from ISession.)
Public methodWaitForSchemaAgreement(RowSet) Obsolete. (Inherited from ISession.)
Top
Extension Methods
  NameDescription
Public Extension MethodCreateBatch (Defined by SessionExtensions.)
Public Extension MethodGetTableTEntity

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.

(Defined by SessionExtensions.)
Top
Properties
  NameDescription
Public propertyBinaryProtocolVersion
Gets the Cassandra native binary protocol version
(Inherited from ISession.)
Public propertyCluster
Gets the cluster information and state
(Inherited from ISession.)
Public propertyIsDisposed
Determines if the object has been disposed.
(Inherited from ISession.)
Public propertyKeyspace
Gets name of currently used keyspace.
(Inherited from ISession.)
Public propertyUserDefinedTypes
Gets the user defined type mappings
(Inherited from ISession.)
Top
See Also

Reference