LongType

object LongType : NumberType<Long>

Long field type represents signed integer value from Long.MIN_VALUE to Long.MAX_VALUE.

Functions

deserialize
Link copied to clipboard
open override fun deserialize(v: Any, valueFactory: () -> Long?): Long
Deserializes field value from Elasticsearch.
deserializeTerm
Link copied to clipboard
open override fun deserializeTerm(v: Any): Long
Deserializes term value from Elasticsearch.
serialize
Link copied to clipboard
open fun serialize(v: Long): Any
Serializes field value to Elasticsearch.
serializeTerm
Link copied to clipboard
open override fun serializeTerm(v: Long): Any
Serializes term value to Elasticsearch.

Properties

name
Link copied to clipboard
open override val name: String
Name of Elasticsearch mapping type.
termType
Link copied to clipboard
open override val termType: KClass<Long>
Term class is used inside FieldSet.