Click or drag to resize

ExecutionInfo Class

Basic information on the execution of a query.

This provides the following information on the execution of a (successful) query:

  • The list of Cassandra hosts tried in order (usually just one, unless a node has been tried but was dead/in error or a timeout provoked a retry (which depends on the RetryPolicy)).
  • The consistency level achieved by the query (usually the one asked, though some specific RetryPolicy may allow this to be different).
  • The query trace recorded by Cassandra if tracing had been set for the query.
Inheritance Hierarchy
SystemObject
  DseExecutionInfo

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public class ExecutionInfo

The ExecutionInfo type exposes the following members.

Constructors
  NameDescription
Public methodExecutionInfo
Initializes a new instance of the ExecutionInfo class
Top
Properties
  NameDescription
Public propertyAchievedConsistency
Gets the final achieved consistency
Public propertyIncomingPayload
Returns the incoming custom payload set by the server with its response, or null if the server have not include any custom payload.

This feature is only available for Cassandra 2.2 or above; with lower versions, this property always returns null.

Public propertyIsSchemaInAgreement
After a successful schema-altering query (ex: creating a table), the driver will check if the cluster's nodes agree on the new schema version. If not, it will keep retrying for a given delay (configurable via WithMaxSchemaAgreementWaitSeconds(Int32)).

If this method returns

false
, clients can call CheckSchemaAgreementAsync later to perform the check manually.
Public propertyQueriedHost
Retrieves the coordinator that responded to the request
Public propertyQueryTrace
Gets the trace for the query execution.
Public propertyTriedHosts
Gets the list of host that were queried before getting a valid response, being the last host the one that replied correctly.
Public propertyWarnings
Returns the server-side warnings for this query.

This feature is only available for Cassandra 2.2 or above; with lower versions, this property always returns null.

Top
Methods
  NameDescription
Public methodGetQueryTraceAsync
Gets the trace information for the query execution without blocking.
Top
See Also

Reference