Click or drag to resize

CqlCommand Class

Represents a Linq query (UPDATE/INSERT/DELETE) that gets evaluated as a CQL statement.
Inheritance Hierarchy

Namespace:  Dse.Data.Linq
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public abstract class CqlCommand : SimpleStatement, 
	IStatement

The CqlCommand type exposes the following members.

Properties
  NameDescription
Public propertyExpression
Public propertyQueryString
Gets the query string.
(Overrides SimpleStatementQueryString.)
Public propertyQueryTrace
After being executed, it retrieves the trace of the CQL query.

Use EnableTracing(Boolean) to enable tracing.

Note that enabling query trace introduces server-side overhead by storing request information, so it's recommended that you only enable query tracing when trying to identify possible issues / debugging.

Public propertyQueryValues (Overrides StatementQueryValues.)
Top
Methods
  NameDescription
Public methodBeginExecute
Starts executing the statement async
Public methodEndExecute
Starts the async executing of the statement
Public methodExecute
Executes the command using the ISession.
Public methodExecute(String)
Executes the command using the ISession with the provided execution profile.
Public methodExecuteAsync
Evaluates the Linq command and executes asynchronously the cql statement.
Public methodExecuteAsync(String)
Evaluates the Linq command and executes asynchronously the cql statement with the provided execution profile.
Public methodGetTable
Public methodSetConsistencyLevel
Public methodSetQueryTrace
Public methodSetSerialConsistencyLevel
Public methodSetTimestamp
Sets the timestamp associated with this statement execution.
Public methodSetTTL
Sets the time for data in a column to expire (TTL) for INSERT and UPDATE commands .
Top
See Also