Click or drag to resize

CqlQueryBaseTEntity Class

Inheritance Hierarchy

Namespace:  Cassandra.Data.Linq
Assembly:  Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
public abstract class CqlQueryBase<TEntity> : Statement, 
	IStatement

Type Parameters

TEntity

The CqlQueryBaseTEntity type exposes the following members.

Properties
  NameDescription
Public propertyElementType
Public propertyExpression
Public propertyKeyspace
Returns the keyspace this query operates on.

Note that not all Statement implementations specify on which keyspace they operate on so this method can return null. If null, it will operate on the default keyspace set during initialization (if it was set).

The keyspace returned is used as a hint for token-aware routing.

(Overrides StatementKeyspace.)
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 propertyRoutingKey (Overrides StatementRoutingKey.)
Top
Methods
  NameDescription
Public methodBeginExecute
Public methodEndExecute
Public methodExecute
Evaluates the Linq query, executes the cql statement and adapts the results.
Public methodExecute(String)
Evaluates the Linq query, executes the cql statement with the provided execution profile and adapts the results.
Public methodExecuteAsync
Evaluates the Linq query, executes asynchronously the cql statement and adapts the results.
Public methodExecuteAsync(String)
Evaluates the Linq query, executes asynchronously the cql statement with the provided execution profile and adapts the results.
Public methodGetTable
Top
See Also