C# Class Dse.DseSession

Inheritance: IDseSession
Mostra file Open project: datastax/csharp-driver-dse

Public Methods

Method Description
BeginExecute ( IStatement statement, AsyncCallback callback, object state ) : IAsyncResult
BeginExecute ( string cqlQuery, ConsistencyLevel consistency, AsyncCallback callback, object state ) : IAsyncResult
BeginPrepare ( string cqlQuery, AsyncCallback callback, object state ) : IAsyncResult
ChangeKeyspace ( string keyspaceName ) : void
CreateKeyspace ( string keyspaceName, string>.Dictionary replication = null, bool durableWrites = true ) : void
CreateKeyspaceIfNotExists ( string keyspaceName, string>.Dictionary replication = null, bool durableWrites = true ) : void
DeleteKeyspace ( string keyspaceName ) : void
DeleteKeyspaceIfExists ( string keyspaceName ) : void
Dispose ( ) : void
DseSession ( ISession coreSession, DseConfiguration config ) : System
EndExecute ( IAsyncResult ar ) : Cassandra.RowSet
EndPrepare ( IAsyncResult ar ) : Cassandra.PreparedStatement
Execute ( IStatement statement ) : Cassandra.RowSet
Execute ( string cqlQuery ) : Cassandra.RowSet
Execute ( string cqlQuery, ConsistencyLevel consistency ) : Cassandra.RowSet
Execute ( string cqlQuery, int pageSize ) : Cassandra.RowSet
ExecuteAsync ( IStatement statement ) : Task
ExecuteGraph ( IGraphStatement statement ) : GraphResultSet
ExecuteGraphAsync ( IGraphStatement graphStatement ) : Task
GetAnalyticsMaster ( IStatement statement, IGraphStatement graphStatement ) : Task
Prepare ( string cqlQuery ) : Cassandra.PreparedStatement
Prepare ( string cqlQuery, byte[]>.IDictionary customPayload ) : Cassandra.PreparedStatement
PrepareAsync ( string cqlQuery ) : Task
PrepareAsync ( string cqlQuery, byte[]>.IDictionary customPayload ) : Task
WaitForSchemaAgreement ( IPEndPoint forHost ) : bool
WaitForSchemaAgreement ( Cassandra.RowSet rs ) : void

Private Methods

Method Description
AdaptRpcMasterResult ( Task task, TargettedSimpleStatement statement ) : IStatement

Method Details

BeginExecute() public method

public BeginExecute ( IStatement statement, AsyncCallback callback, object state ) : IAsyncResult
statement IStatement
callback AsyncCallback
state object
return IAsyncResult

BeginExecute() public method

public BeginExecute ( string cqlQuery, ConsistencyLevel consistency, AsyncCallback callback, object state ) : IAsyncResult
cqlQuery string
consistency ConsistencyLevel
callback AsyncCallback
state object
return IAsyncResult

BeginPrepare() public method

public BeginPrepare ( string cqlQuery, AsyncCallback callback, object state ) : IAsyncResult
cqlQuery string
callback AsyncCallback
state object
return IAsyncResult

ChangeKeyspace() public method

public ChangeKeyspace ( string keyspaceName ) : void
keyspaceName string
return void

CreateKeyspace() public method

public CreateKeyspace ( string keyspaceName, string>.Dictionary replication = null, bool durableWrites = true ) : void
keyspaceName string
replication string>.Dictionary
durableWrites bool
return void

CreateKeyspaceIfNotExists() public method

public CreateKeyspaceIfNotExists ( string keyspaceName, string>.Dictionary replication = null, bool durableWrites = true ) : void
keyspaceName string
replication string>.Dictionary
durableWrites bool
return void

DeleteKeyspace() public method

public DeleteKeyspace ( string keyspaceName ) : void
keyspaceName string
return void

DeleteKeyspaceIfExists() public method

public DeleteKeyspaceIfExists ( string keyspaceName ) : void
keyspaceName string
return void

Dispose() public method

public Dispose ( ) : void
return void

DseSession() public method

public DseSession ( ISession coreSession, DseConfiguration config ) : System
coreSession ISession
config DseConfiguration
return System

EndExecute() public method

public EndExecute ( IAsyncResult ar ) : Cassandra.RowSet
ar IAsyncResult
return Cassandra.RowSet

EndPrepare() public method

public EndPrepare ( IAsyncResult ar ) : Cassandra.PreparedStatement
ar IAsyncResult
return Cassandra.PreparedStatement

Execute() public method

public Execute ( IStatement statement ) : Cassandra.RowSet
statement IStatement
return Cassandra.RowSet

Execute() public method

public Execute ( string cqlQuery ) : Cassandra.RowSet
cqlQuery string
return Cassandra.RowSet

Execute() public method

public Execute ( string cqlQuery, ConsistencyLevel consistency ) : Cassandra.RowSet
cqlQuery string
consistency ConsistencyLevel
return Cassandra.RowSet

Execute() public method

public Execute ( string cqlQuery, int pageSize ) : Cassandra.RowSet
cqlQuery string
pageSize int
return Cassandra.RowSet

ExecuteAsync() public method

public ExecuteAsync ( IStatement statement ) : Task
statement IStatement
return Task

ExecuteGraph() public method

public ExecuteGraph ( IGraphStatement statement ) : GraphResultSet
statement IGraphStatement
return GraphResultSet

ExecuteGraphAsync() public method

public ExecuteGraphAsync ( IGraphStatement graphStatement ) : Task
graphStatement IGraphStatement
return Task

GetAnalyticsMaster() public method

public GetAnalyticsMaster ( IStatement statement, IGraphStatement graphStatement ) : Task
statement IStatement
graphStatement IGraphStatement
return Task

Prepare() public method

public Prepare ( string cqlQuery ) : Cassandra.PreparedStatement
cqlQuery string
return Cassandra.PreparedStatement

Prepare() public method

public Prepare ( string cqlQuery, byte[]>.IDictionary customPayload ) : Cassandra.PreparedStatement
cqlQuery string
customPayload byte[]>.IDictionary
return Cassandra.PreparedStatement

PrepareAsync() public method

public PrepareAsync ( string cqlQuery ) : Task
cqlQuery string
return Task

PrepareAsync() public method

public PrepareAsync ( string cqlQuery, byte[]>.IDictionary customPayload ) : Task
cqlQuery string
customPayload byte[]>.IDictionary
return Task

WaitForSchemaAgreement() public method

public WaitForSchemaAgreement ( IPEndPoint forHost ) : bool
forHost System.Net.IPEndPoint
return bool

WaitForSchemaAgreement() public method

public WaitForSchemaAgreement ( Cassandra.RowSet rs ) : void
rs Cassandra.RowSet
return void