Module Values.QuerySummarySource

Details of the query listed.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    A string representation of the id of the query.

    *)
  2. queryString : String_.t option;
    (*

    The actual query text. The queryString may be truncated if the actual query string is too long.

    *)
  3. waited : Integer.t option;
    (*

    The amount of time, in milliseconds, the query has waited in the queue before being picked up by a worker thread.

    *)
  4. elapsed : Integer.t option;
    (*

    The running time of the query, in milliseconds.

    *)
  5. state : QueryState.t option;
    (*

    State of the query.

    *)
}
Sourceval make : ?id:??? -> ?queryString:??? -> ?waited:??? -> ?elapsed:??? -> ?state:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t