StringType

abstract class StringType : SimpleFieldType<String>

Base class for string types.

Constructors

StringType
Link copied to clipboard
fun StringType()

Functions

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

Properties

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

Inheritors

KeywordType
Link copied to clipboard
TextType
Link copied to clipboard