Class

com.salesforce.op.utils.spark.RichMetadata

RichMetadata

Related Doc: package RichMetadata

Permalink

implicit final class RichMetadata extends AnyVal

Enrichment functions for Metadata

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichMetadata
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichMetadata(metadata: Metadata)

    Permalink

    metadata

    Metadata

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def containsSummaryMetadata(): Boolean

    Permalink

    Checks if metadata contains summary

    Checks if metadata contains summary

    returns

    boolean value - true if summary exists false if not

  6. def deepEquals(that: Metadata): Boolean

    Permalink

    Equals method that will recursively check Metadata objects that contain Metadata values or values that are Array[Metadata]

    Equals method that will recursively check Metadata objects that contain Metadata values or values that are Array[Metadata]

    that

    Other metadata object to compare to

  7. def deepMerge(that: Metadata): Metadata

    Permalink

    Deep merge this Metadata with that one

    Deep merge this Metadata with that one

    that

    Metadata

    returns

    merged Metadata

  8. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  9. def getSummaryMetadata(): Metadata

    Permalink

    Get summary metadata

    Get summary metadata

    returns

    metadata under summary key

  10. def isEmpty: Boolean

    Permalink

    Tests whether the map is empty.

    Tests whether the map is empty.

    returns

    true if the map does not contain any key/value binding, false otherwise.

  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val metadata: Metadata

    Permalink

    Metadata

  13. def prettyJson: String

    Permalink

    Converts to its pretty json representation

    Converts to its pretty json representation

    returns

    pretty json string

  14. def toString(): String

    Permalink
    Definition Classes
    Any
  15. def toSummaryMetadata(): Metadata

    Permalink

    Turn an this metadata into summary metadata by putting it behind the summary key

    Turn an this metadata into summary metadata by putting it behind the summary key

    returns

    a new metadata instance

  16. def underlyingMap: Map[String, Any]

    Permalink

    Get underlying untyped Map[String, Any]

    Get underlying untyped Map[String, Any]

    returns

    underlying untyped Map[String, Any]

  17. def withSummaryMetadata(summary: Metadata): Metadata

    Permalink

    Add summary metadata to an existing metadata instance

    Add summary metadata to an existing metadata instance

    summary

    Metadata containing any summary information from estimator

    returns

    a new combined instance of metadata

  18. def wrapped: MetadataWrapper

    Permalink

    Returns a wrapped metadata which allows access to private members of metadata

    Returns a wrapped metadata which allows access to private members of metadata

    returns

    wrapped metadata

Inherited from AnyVal

Inherited from Any

Ungrouped