Class Batch
Inheritance
System.Object
Batch
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Dse.dll
Syntax
public abstract class Batch : Statement, IStatement
Fields
_batchType
Declaration
protected BatchType _batchType
Field Value
_session
Declaration
protected readonly ISession _session
Field Value
_timestamp
Declaration
protected DateTimeOffset? _timestamp
Field Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
Properties
IsEmpty
Declaration
public abstract bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Keyspace
Declaration
public override string Keyspace { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
QueryAbortTimeout
Declaration
protected int QueryAbortTimeout { get; }
Property Value
Type |
Description |
System.Int32 |
|
QueryTrace
Declaration
public QueryTrace QueryTrace { get; }
Property Value
RoutingKey
Declaration
public override RoutingKey RoutingKey { get; }
Property Value
Overrides
Methods
Append(CqlCommand)
Declaration
public abstract void Append(CqlCommand cqlCommand)
Parameters
Append(IEnumerable<CqlCommand>)
Declaration
public Batch Append(IEnumerable<CqlCommand> cqlCommands)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<CqlCommand> |
cqlCommands |
|
Returns
BatchTypeString()
Declaration
protected string BatchTypeString()
Returns
Type |
Description |
System.String |
|
BeginExecute(AsyncCallback, Object)
Declaration
public IAsyncResult BeginExecute(AsyncCallback callback, object state)
Parameters
Type |
Name |
Description |
System.AsyncCallback |
callback |
|
System.Object |
state |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndExecute(IAsyncResult)
Declaration
public void EndExecute(IAsyncResult ar)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
ar |
|
Execute()
Declaration
Execute(String)
Declaration
public void Execute(string executionProfile)
Parameters
Type |
Name |
Description |
System.String |
executionProfile |
|
ExecuteAsync()
Declaration
public Task ExecuteAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ExecuteAsync(String)
Declaration
public Task ExecuteAsync(string executionProfile)
Parameters
Type |
Name |
Description |
System.String |
executionProfile |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
InternalExecuteAsync()
Declaration
protected abstract Task<RowSet> InternalExecuteAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<RowSet> |
|
InternalExecuteAsync(String)
Declaration
protected abstract Task<RowSet> InternalExecuteAsync(string executionProfile)
Parameters
Type |
Name |
Description |
System.String |
executionProfile |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<RowSet> |
|
SetConsistencyLevel(Nullable<ConsistencyLevel>)
Declaration
public Batch SetConsistencyLevel(ConsistencyLevel? consistencyLevel)
Parameters
Returns
SetTimestamp(DateTimeOffset)
Declaration
public Batch SetTimestamp(DateTimeOffset timestamp)
Parameters
Type |
Name |
Description |
System.DateTimeOffset |
timestamp |
|
Returns
Implements