final class WriteMessage[T, PT] extends AnyRef
- Source
- WriteMessage.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WriteMessage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- val customMetadata: Map[String, String]
- def equals(other: Any): Boolean
- Definition Classes
- WriteMessage → AnyRef → Any
- def hashCode(): Int
- Definition Classes
- WriteMessage → AnyRef → Any
- val id: Option[String]
- val indexName: Option[String]
- val operation: Operation
- val passThrough: PT
- val source: Option[T]
- def toString(): String
- Definition Classes
- WriteMessage → AnyRef → Any
- val version: Option[Long]
- def withCustomMetadata(metadata: Map[String, String]): WriteMessage[T, PT]
Java API: define custom metadata for this message.
Java API: define custom metadata for this message. Fields should have the full metadata field name as key (including the "_" prefix if there is one)
- def withCustomMetadata(value: Map[String, String]): WriteMessage[T, PT]
Scala API: define custom metadata for this message.
Scala API: define custom metadata for this message. Fields should have the full metadata field name as key (including the "_" prefix if there is one)
- def withIndexName(value: String): WriteMessage[T, PT]
- def withPassThrough[PT2](value: PT2): WriteMessage[T, PT2]
- def withSource(value: T): WriteMessage[T, PT]
- def withVersion(value: Long): WriteMessage[T, PT]