Packages

c

org.apache.spark.sql.types

MetadataBuilder

class MetadataBuilder extends AnyRef

Builder for Metadata. If there is a key collision, the latter will overwrite the former.

Annotations
@Stable()
Source
Metadata.scala
Since

1.3.0

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

Instance Constructors

  1. new MetadataBuilder()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def build(): Metadata

    Builds the Metadata instance.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def getMap: Map[String, Any]

    Returns the immutable version of this map.

    Returns the immutable version of this map. Used for java interop.

    Attributes
    protected
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def putBoolean(key: String, value: Boolean): MetadataBuilder.this.type

    Puts a Boolean.

  17. def putBooleanArray(key: String, value: Array[Boolean]): MetadataBuilder.this.type

    Puts a Boolean array.

  18. def putDouble(key: String, value: Double): MetadataBuilder.this.type

    Puts a Double.

  19. def putDoubleArray(key: String, value: Array[Double]): MetadataBuilder.this.type

    Puts a Double array.

  20. def putLong(key: String, value: Long): MetadataBuilder.this.type

    Puts a Long.

  21. def putLongArray(key: String, value: Array[Long]): MetadataBuilder.this.type

    Puts a Long array.

  22. def putMetadata(key: String, value: Metadata): MetadataBuilder.this.type

    Puts a Metadata.

  23. def putMetadataArray(key: String, value: Array[Metadata]): MetadataBuilder.this.type

    Puts a Metadata array.

  24. def putNull(key: String): MetadataBuilder.this.type

    Puts a null.

  25. def putString(key: String, value: String): MetadataBuilder.this.type

    Puts a String.

  26. def putStringArray(key: String, value: Array[String]): MetadataBuilder.this.type

    Puts a String array.

  27. def remove(key: String): MetadataBuilder.this.type
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withMetadata(metadata: Metadata): MetadataBuilder.this.type

    Include the content of an existing Metadata instance.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped