Module Values_2.StatementSource

The statement or request for a particular action to occur in a session.

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

    The ID of the statement.

    *)
  2. code : Values_0.GenericString.t option;
    (*

    The execution code of the statement.

    *)
  3. state : StatementState.t option;
    (*

    The state while request is actioned.

    *)
  4. output : StatementOutput.t option;
    (*

    The output in JSON.

    *)
  5. progress : Values_1.DoubleValue.t option;
    (*

    The code execution progress.

    *)
  6. startedOn : LongValue.t option;
    (*

    The unix time and date that the job definition was started.

    *)
  7. completedOn : LongValue.t option;
    (*

    The unix time and date that the job definition was completed.

    *)
}
Sourceval make : ?id:??? -> ?code:??? -> ?state:??? -> ?output:??? -> ?progress:??? -> ?startedOn:??? -> ?completedOn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Values_1.DoubleValue.t | `Enum of string | `Integer of Values_0.IntegerValue.t | `Long of LongValue.t | `String of Values_0.GenericString.t | `Structure of (string * [> `Enum of string | `Integer of Values_0.IntegerValue.t | `List of [> `String of Values_0.GenericString.t ] list | `String of Values_0.GenericString.t | `Structure of (string * [> `String of Values_0.GenericString.t ]) list ]) list ]) 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