Module Values.TableMetadataSource

Contains metadata for a table.

Sourcetype nonrec t = {
  1. name : NameString.t option;
    (*

    The name of the table.

    *)
  2. createTime : Timestamp.t option;
    (*

    The time that the table was created.

    *)
  3. lastAccessTime : Timestamp.t option;
    (*

    The last time the table was accessed.

    *)
  4. tableType : TableTypeString.t option;
    (*

    The type of table. In Athena, only EXTERNAL_TABLE is supported.

    *)
  5. columns : ColumnList.t option;
    (*

    A list of the columns in the table.

    *)
  6. partitionKeys : ColumnList.t option;
    (*

    A list of the partition keys in the table.

    *)
  7. parameters : ParametersMap.t option;
    (*

    A set of custom key/value pairs for table properties.

    *)
}
Sourceval make : ?name:??? -> ?createTime:??? -> ?lastAccessTime:??? -> ?tableType:??? -> ?columns:??? -> ?partitionKeys:??? -> ?parameters:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of NameString.t ]) list ] list | `Map of ([> `String of KeyString.t ] * [> `String of ParametersMapValue.t ]) list | `String of NameString.t | `Timestamp of Timestamp.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