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
  CassandraExecutionInfo

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.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
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetQueryTraceAsync
Gets the trace information for the query execution without blocking.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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 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
See Also