Click or drag to resize
QueryTrace Class
The Cassandra trace for a query.

The trace is generated by Cassandra when query tracing is enabled for the query. The trace itself is stored in Cassandra in the sessions and events table in the system_traces keyspace and can be retrieve manually using the trace identifier (the one returned by TraceId).

Inheritance Hierarchy
SystemObject
  CassandraQueryTrace

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public class QueryTrace

The QueryTrace type exposes the following members.

Constructors
  NameDescription
Public methodQueryTrace
Initializes a new instance of the QueryTrace 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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyClientAddress
Source address of the query.
Public propertyCoordinator
The coordinator host of the query.
Public propertyDurationMicros
The (server side) duration of the query in microseconds.
Public propertyEvents
The events contained in this trace.
Public propertyParameters
The parameters attached to this trace.
Public propertyRequestType
The type of request.
Public propertyStartedAt
The server side timestamp of the start of this query.
Public propertyTraceId
The identifier of this trace.
Top
See Also