ShortType

Integer field type represents signed integer value from Short.MIN_VALUE to Short.MAX_VALUE.

Functions

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

Deserializes field value from Elasticsearch.

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

Deserializes term value from Elasticsearch.

Link copied to clipboard
open override fun serialize(v: Short): Int

Serializes field value to Elasticsearch.

Link copied to clipboard
open override fun serializeTerm(v: Short): 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<Short>

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