FloatRangeType

A range of single-precision floating point values.

Functions

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

Deserializes field value from Elasticsearch.

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

Deserializes term value from Elasticsearch.

Link copied to clipboard
open override fun serialize(v: Range<Float>): Any

Serializes field value to Elasticsearch.

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

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