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].
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.
Builder for Metadata.
Builder for Metadata. If there is a key collision, the latter will overwrite the former.
Returns a path to a temporary file that probably does not exist.
Returns a path to a temporary file that probably does not exist. Note, there is always the race condition that someone created this file since the last time we checked. Thus, this shouldn't be used for anything security conscious.