Module Values.PrimaryKeySource

The primary key for a KSDS data set.

Sourcetype nonrec t = {
  1. length : Integer.t;
    (*

    A strictly positive integer value representing the length of the primary key.

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

    A name for the Primary Key.

    *)
  3. offset : Integer.t;
    (*

    A positive integer value representing the offset to mark the start of the primary key in the record byte array.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> length:Integer.t -> offset:Integer.t -> unit -> t
Sourceval to_value : t -> [> `Structure 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