Module Values_0.FeatureDefinitionSource

A list of features. You must include FeatureName and FeatureType. Valid feature FeatureTypes are Integral, Fractional and String.

Sourcetype nonrec t = {
  1. featureName : FeatureName.t;
    (*

    The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time. The name: Must start with an alphanumeric character. Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.

    *)
  2. featureType : FeatureType.t;
    (*

    The value type of a feature. Valid values are Integral, Fractional, or String.

    *)
  3. collectionType : CollectionType.t option;
    (*

    A grouping of elements where each element within the collection must have the same feature type (String, Integral, or Fractional). List: An ordered collection of elements. Set: An unordered collection of unique elements. Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.

    *)
  4. collectionConfig : CollectionConfig.t option;
    (*

    Configuration for your collection.

    *)
}
Sourceval context_ : string
Sourceval make : ?collectionType:??? -> ?collectionConfig:??? -> featureName:FeatureName.t -> featureType:FeatureType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of FeatureName.t | `Structure of (string * [> `Structure of (string * [> `Integer of Dimension.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