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()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. 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
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def putBoolean(key: String, value: Boolean): MetadataBuilder.this.type

    Puts a Boolean.

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

    Puts a Boolean array.

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

    Puts a Double.

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

    Puts a Double array.

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

    Puts a Long.

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

    Puts a Long array.

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

    Puts a Metadata.

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

    Puts a Metadata array.

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

    Puts a null.

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

    Puts a String.

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

    Puts a String array.

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

    Include the content of an existing Metadata instance.

Inherited from AnyRef

Inherited from Any

Ungrouped