Aggregation

interface Aggregation<R : AggregationResult> : NamedExpression

Base aggregation expression.

Parameters

R

an aggregation result type for this aggregation

Functions

accept
Link copied to clipboard
open override fun accept(ctx: <ERROR CLASS>, compiler: SearchQueryCompiler)
children
Link copied to clipboard
open fun children(): Iterator<Expression<*>>?
clone
Link copied to clipboard
abstract fun clone(): Expression<<ERROR CLASS>>
processResult
Link copied to clipboard
abstract fun processResult(obj: <ERROR CLASS>): R
Processes corresponding aggregation response.
reduce
Link copied to clipboard
open fun reduce(): Expression<<ERROR CLASS>>?
visit
Link copied to clipboard
abstract fun visit(ctx: <ERROR CLASS>, compiler: SearchQueryCompiler)

Properties

name
Link copied to clipboard
abstract val name: String

Inheritors

BucketAggregation
Link copied to clipboard
MetricAggregation
Link copied to clipboard