Module Values_1.CsvClassifierSource

A classifier for custom CSV content.

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

    The name of the classifier.

    *)
  2. creationTime : Values_0.Timestamp.t option;
    (*

    The time that this classifier was registered.

    *)
  3. lastUpdated : Values_0.Timestamp.t option;
    (*

    The time that this classifier was last updated.

    *)
  4. version : Values_0.VersionId.t option;
    (*

    The version of this classifier.

    *)
  5. delimiter : CsvColumnDelimiter.t option;
    (*

    A custom symbol to denote what separates each column entry in the row.

    *)
  6. quoteSymbol : CsvQuoteSymbol.t option;
    (*

    A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.

    *)
  7. containsHeader : CsvHeaderOption.t option;
    (*

    Indicates whether the CSV file contains a header.

    *)
  8. header : CsvHeader.t option;
    (*

    A list of strings representing column names.

    *)
  9. disableValueTrimming : Values_0.NullableBoolean.t option;
    (*

    Specifies not to trim values before identifying the type of column values. The default value is true.

    *)
  10. allowSingleColumn : Values_0.NullableBoolean.t option;
    (*

    Enables the processing of files that contain only one column.

    *)
  11. customDatatypeConfigured : Values_0.NullableBoolean.t option;
    (*

    Enables the custom datatype to be configured.

    *)
  12. customDatatypes : CustomDatatypes.t option;
    (*

    A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".

    *)
  13. serde : CsvSerdeOption.t option;
    (*

    Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.

    *)
}
Sourceval make : ?name:??? -> ?creationTime:??? -> ?lastUpdated:??? -> ?version:??? -> ?delimiter:??? -> ?quoteSymbol:??? -> ?containsHeader:??? -> ?header:??? -> ?disableValueTrimming:??? -> ?allowSingleColumn:??? -> ?customDatatypeConfigured:??? -> ?customDatatypes:??? -> ?serde:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.NullableBoolean.t | `Enum of string | `List of [> `String of Values_0.NameString.t ] list | `Long of Values_0.VersionId.t | `String of Values_0.NameString.t | `Timestamp of Values_0.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