CreateAction

class CreateAction<S : BaseDocSource>(meta: ActionMeta, source: S, pipeline: String? = null, concurrencyControl: ConcurrencyControl? = null) : IndexAction<S>

Creates new source document in an index. If the document already exists, the action fails.

See also

Constructors

Link copied to clipboard
fun <S : BaseDocSource> CreateAction(meta: ActionMeta, source: S, pipeline: String? = null, concurrencyControl: ConcurrencyControl? = null)

Properties

Link copied to clipboard

Concurrency control.

Link copied to clipboard
open override val meta: ActionMeta

Action's metadata.

Link copied to clipboard
open override val name: String

Name of the action.

Link copied to clipboard
Link copied to clipboard
open override val source: S

Optional source.