Click or drag to resize
CqlCommand Class
Represents a Linq query (UPDATE/INSERT/DELETE) that gets evaluated as a CQL statement.
Inheritance Hierarchy

Namespace: Cassandra.Data.Linq
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public abstract class CqlCommand : SimpleStatement

The CqlCommand type exposes the following members.

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 methodExecuteAsync
Evaluates the Linq command and executes asynchronously the cql statement.
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
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
See Also