Module Values.AlternateKeySource

Defines an alternate key. This value is optional. A legacy data set might not have any alternate key defined but if those alternate keys definitions exist, provide them, as some applications will make use of them.

Sourcetype nonrec t = {
  1. allowDuplicates : Boolean.t option;
    (*

    Indicates whether the alternate key values are supposed to be unique for the given data set.

    *)
  2. length : Integer.t;
    (*

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

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

    The name of the alternate key.

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

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

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