BoundRuntimeField

class BoundRuntimeField<V>(name: String, type: FieldType<V, V>, script: Script, parent: FieldSet) : BoundField<V, V>

Represents a runtime field.

Parameters

script
  • script to calculate the runtime field

See more at https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html

Constructors

BoundRuntimeField
Link copied to clipboard
fun <V> BoundRuntimeField(name: String, type: FieldType<V, V>, script: Script, parent: FieldSet)
  • script to calculate the runtime field

See more at https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.

Functions

asc
Link copied to clipboard
open fun asc(mode: Sort.Mode? = null, numericType: Sort.NumericType? = null, missing: Sort.Missing? = null, unmappedType: FieldType<*, *>? = null, nested: Sort.Nested? = null): Sort
desc
Link copied to clipboard
open fun desc(mode: Sort.Mode? = null, numericType: Sort.NumericType? = null, missing: Sort.Missing? = null, unmappedType: FieldType<*, *>? = null, nested: Sort.Nested? = null): Sort
deserializeTerm
Link copied to clipboard
open fun deserializeTerm(v: Any): V
eq
Link copied to clipboard
open infix fun eq(term: V?): QueryExpression
open fun eq(term: V?, boost: Double? = null): QueryExpression
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
format
Link copied to clipboard
open fun format(format: String? = null): FieldFormat
getFieldName
Link copied to clipboard
open override fun getFieldName(): String
getFieldType
Link copied to clipboard
open override fun getFieldType(): FieldType<V, V>
getMappingParams
Link copied to clipboard
open override fun getMappingParams(): Params
getParent
Link copied to clipboard
fun getParent(): FieldSet
getQualifiedFieldName
Link copied to clipboard
open override fun getQualifiedFieldName(): String
gt
Link copied to clipboard
open infix fun gt(other: V?): Range<V>
gte
Link copied to clipboard
open infix fun gte(other: V?): Range<V>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
lt
Link copied to clipboard
open infix fun lt(other: V?): Range<V>
lte
Link copied to clipboard
open infix fun lte(other: V?): Range<V>
ne
Link copied to clipboard
open infix fun ne(term: V?): QueryExpression
open fun ne(term: V?, boost: Double? = null): QueryExpression
oneOf
Link copied to clipboard
open infix fun oneOf(terms: List<V>): QueryExpression
range
Link copied to clipboard
open fun range(gt: V? = null, gte: V? = null, lt: V? = null, lte: V? = null, boost: Double? = null): Range<V>
serializeTerm
Link copied to clipboard
open fun serializeTerm(v: V): Any
toValue
Link copied to clipboard
open override fun toValue(): String