DoubleType

Double field type represents double-precision floating point value.

Functions

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

Deserializes field value from Elasticsearch.

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

Deserializes term value from Elasticsearch.

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

Serializes field value to Elasticsearch.

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

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