BoundJoinField

class BoundJoinField(name: String, type: FieldType<Join, String>, relations: Map<String, List<String>>, params: Params, parent: FieldSet) : BoundField<Join, String>

Represents join field.

Parameters

relations
  • map of parent to child relations

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

Constructors

BoundJoinField
Link copied to clipboard
fun BoundJoinField(name: String, type: FieldType<Join, String>, relations: Map<String, List<String>>, params: Params, parent: FieldSet)
  • map of parent to child relations

See more at https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.

Types

Parent
Link copied to clipboard
inner class Parent(name: String) : FieldOperations<String>

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): String
eq
Link copied to clipboard
open infix fun eq(term: String?): QueryExpression
open fun eq(term: String?, 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<Join, String>
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: String?): Range<String>
gte
Link copied to clipboard
open infix fun gte(other: String?): Range<String>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
lt
Link copied to clipboard
open infix fun lt(other: String?): Range<String>
lte
Link copied to clipboard
open infix fun lte(other: String?): Range<String>
ne
Link copied to clipboard
open infix fun ne(term: String?): QueryExpression
open fun ne(term: String?, boost: Double? = null): QueryExpression
oneOf
Link copied to clipboard
open infix fun oneOf(terms: List<String>): QueryExpression
parent
Link copied to clipboard
fun parent(name: String): FieldOperations<String>
range
Link copied to clipboard
open fun range(gt: String? = null, gte: String? = null, lt: String? = null, lte: String? = null, boost: Double? = null): Range<String>
serializeTerm
Link copied to clipboard
open fun serializeTerm(v: String): Any
toValue
Link copied to clipboard
open override fun toValue(): String