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
- Alphabetic
- By Inheritance
- MetadataBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MetadataBuilder()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
build(): Metadata
Builds the Metadata instance.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
putBoolean(key: String, value: Boolean): MetadataBuilder.this.type
Puts a Boolean.
-
def
putBooleanArray(key: String, value: Array[Boolean]): MetadataBuilder.this.type
Puts a Boolean array.
-
def
putDouble(key: String, value: Double): MetadataBuilder.this.type
Puts a Double.
-
def
putDoubleArray(key: String, value: Array[Double]): MetadataBuilder.this.type
Puts a Double array.
-
def
putLong(key: String, value: Long): MetadataBuilder.this.type
Puts a Long.
-
def
putLongArray(key: String, value: Array[Long]): MetadataBuilder.this.type
Puts a Long array.
-
def
putMetadata(key: String, value: Metadata): MetadataBuilder.this.type
Puts a Metadata.
-
def
putMetadataArray(key: String, value: Array[Metadata]): MetadataBuilder.this.type
Puts a Metadata array.
-
def
putNull(key: String): MetadataBuilder.this.type
Puts a null.
-
def
putString(key: String, value: String): MetadataBuilder.this.type
Puts a String.
-
def
putStringArray(key: String, value: Array[String]): MetadataBuilder.this.type
Puts a String array.
- def remove(key: String): MetadataBuilder.this.type
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withMetadata(metadata: Metadata): MetadataBuilder.this.type
Include the content of an existing Metadata instance.