JoinType

Join field type represents parent-child relations between documents in an index.

See: https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html

Functions

Link copied to clipboard
open override fun deserialize(v: Any, valueFactory: () -> Join?): Join

Deserializes field value from Elasticsearch.

Link copied to clipboard
open override fun deserializeTerm(v: Any): String

Deserializes term value from Elasticsearch.

Link copied to clipboard
open override fun serialize(v: Join): Any

Serializes field value to Elasticsearch.

Link copied to clipboard
open fun serializeTerm(v: String): Any

Serializes term value to Elasticsearch.

Properties

Link copied to clipboard
open override val name: String

Name of Elasticsearch mapping type.

Link copied to clipboard
open override val termType: KClass<String>

Term class is used inside FieldSet.getFieldByName method to check term type before casting.