BaseDocSource

abstract class BaseDocSource

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun fromSource(rawSource: RawSource)
Link copied to clipboard
abstract fun toSource(): Map<String, Any?>

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun BaseDocSource.withActionMeta(id: String, routing: String? = null, version: Long? = null, seqNo: Long? = null, primaryTerm: Long? = null): DocSourceAndMeta<IdActionMeta>
fun BaseDocSource.withActionMeta(routing: String? = null, version: Long? = null, seqNo: Long? = null, primaryTerm: Long? = null): DocSourceAndMeta<ActionMeta>

A shortcut to attach action metadata to a document source.