An API derived from Apache Spark's Metadata class for storing column metadata. Double and Long are
treated as the same number type. The original Scala description can be found below:
Metadata is a wrapper over Map[String, Any] that limits the value type to simple ones: Boolean,
Long, Double, String, Metadata, Array[Boolean], Array[Long], Array[Double], Array[String], and
Array[Metadata]. JSON is used for serialization.
The default constructor is private. User should use either [[MetadataBuilder]] or
Metadata.fromJson() to create Metadata instances.
An API derived from Apache Spark's Metadata class for storing column metadata. Double and Long are treated as the same number type. The original Scala description can be found below:
Metadata is a wrapper over Map[String, Any] that limits the value type to simple ones: Boolean, Long, Double, String, Metadata, Array[Boolean], Array[Long], Array[Double], Array[String], and Array[Metadata]. JSON is used for serialization.
The default constructor is private. User should use either [[MetadataBuilder]] or
Metadata.fromJson()to create Metadata instances.Param: an
immutable map that stores the data
Since
1.0.0
Author
Kent Yao yao@apache.org