smart_city v5.4.4 SmartCity.Ingestion.Transformation View Source

A struct representing the transformations portion of an ingestion struct definition (represented by SmartCity.Ingestion)

You probably won't need to access this module directly; SmartCity.Ingestion.new/1 will build this for you

Link to this section Summary

Link to this section Types

Link to this type

license_or_default()

View Source
license_or_default() :: String.t()
Link to this type

not_required()

View Source
not_required() :: term() | nil
Link to this type

t()

View Source
t() :: %SmartCity.Ingestion.Transformation{
  id: String.t(),
  name: String.t(),
  parameters: map(),
  sequence: Integer.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

get(struct, key, default \\ nil)

View Source

Returns a new SmartCity.Ingestion.Transformation struct. Can be created from Map with string or atom keys.

Parameters