Package-level declarations
Types
Link copied to clipboard
Base aggregation expression.
Link copied to clipboard
interface AggregationResult
Aggregation result interface marker.
Link copied to clipboard
Represents value source for an aggregation:
Link copied to clipboard
data class AvgAgg<T>(val value: AggValue<T>, val missing: T? = null, val format: String? = null) : NumericValueAgg<T, AvgAggResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class CardinalityAgg<T>(val value: AggValue<T>, val missing: T? = null) : NumericValueAgg<T, CardinalityAggResult>
Link copied to clipboard
Link copied to clipboard
data class DateHistogramAgg<T>(val value: AggValue<T>, val interval: DateHistogramAgg.Interval, val offset: FixedInterval? = null, val minDocCount: Long? = null, val missing: T? = null, val format: String? = null, val order: List<BucketsOrder> = emptyList(), val extendedBounds: HistogramBounds<T>? = null, val hardBounds: HistogramBounds<T>? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseHistogramAgg<T, DateHistogramAggResult<T>, DateHistogramBucket<T>>
Link copied to clipboard
data class DateHistogramAggResult<T>(val buckets: List<DateHistogramBucket<T>>) : BucketAggResult<DateHistogramBucket<T>>
Link copied to clipboard
data class DateHistogramBucket<T>(val key: Long, val keyAsString: String?, val keyAsDatetime: T, val docCount: Long, val aggs: Map<String, AggregationResult>) : KeyedBucket<Long>
Link copied to clipboard
data class DateRangeAgg<T>(val value: AggValue<T>, val ranges: List<AggRange<T>>, val format: String? = null, val missing: T? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseRangeAgg<T, DateRangeAggResult<T>, DateRangeBucket<T>>
Link copied to clipboard
data class DateRangeAggResult<T>(val buckets: List<DateRangeBucket<T>>) : BucketAggResult<DateRangeBucket<T>>
Link copied to clipboard
data class DateRangeBucket<T>(val key: String, val docCount: Long, val from: Double? = null, val fromAsString: String? = null, val fromAsDatetime: T? = null, val to: Double? = null, val toAsString: String? = null, val toAsDatetime: T? = null, val aggs: Map<String, AggregationResult> = emptyMap()) : KeyedBucket<String>
Link copied to clipboard
data class DoubleValueAggResult(val value: Double, val valueAsString: String? = null) : SingleValueMetricAggResult<Double>
Link copied to clipboard
data class ExtendedStatsAgg<T>(val value: AggValue<T>, val missing: T? = null, val format: String? = null) : NumericValueAgg<T, ExtendedStatsAggResult>
Link copied to clipboard
data class ExtendedStatsAggResult(val count: Long, val min: Double?, val max: Double?, val avg: Double?, val sum: Double, val sumOfSquares: Double?, val variance: Double?, val stdDeviation: Double?, val stdDeviationBounds: ExtendedStatsAggResult.StdDeviationBounds) : AggregationResult
Link copied to clipboard
data class FilterAgg(val filter: QueryExpression, val aggs: Map<String, Aggregation<*>> = emptyMap()) : SingleBucketAggregation
Link copied to clipboard
Link copied to clipboard
data class FiltersAgg(val filters: Map<String, QueryExpression>, val otherBucketKey: String? = null, val aggs: Map<String, Aggregation<*>> = emptyMap()) : BucketAggregation<FiltersAggResult>
Link copied to clipboard
Link copied to clipboard
data class FiltersBucket(val key: String, val docCount: Long, val aggs: Map<String, AggregationResult>) : KeyedBucket<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class HistogramAgg<T : Number>(val value: AggValue<T>, val interval: T, val offset: T? = null, val minDocCount: Long? = null, val missing: T? = null, val format: String? = null, val order: List<BucketsOrder> = emptyList(), val extendedBounds: HistogramBounds<T>? = null, val hardBounds: HistogramBounds<T>? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseHistogramAgg<T, HistogramAggResult, HistogramBucket>
Link copied to clipboard
data class HistogramAggResult(val buckets: List<HistogramBucket>) : BucketAggResult<HistogramBucket>
Link copied to clipboard
Link copied to clipboard
data class HistogramBucket(val key: Double, val docCount: Long, val aggs: Map<String, AggregationResult> = emptyMap(), val keyAsString: String? = null) : KeyedBucket<Double>
Link copied to clipboard
Link copied to clipboard
data class LongValueAggResult(val value: Long, val valueAsString: String? = null) : SingleValueMetricAggResult<Long>
Link copied to clipboard
data class MaxAgg<T>(val value: AggValue<T>, val missing: T? = null, val format: String? = null) : NumericValueAgg<T, MaxAggResult>
Link copied to clipboard
Link copied to clipboard
data class MedianAbsoluteDeviationAgg<T>(val value: AggValue<T>, val missing: T? = null) : NumericValueAgg<T, MedianAbsoluteDeviationAggResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class MinAgg<T>(val value: AggValue<T>, val missing: T? = null, val format: String? = null) : NumericValueAgg<T, MinAggResult>
Link copied to clipboard
Link copied to clipboard
data class NestedAgg(val path: FieldOperations<Nothing>, val aggs: Map<String, Aggregation<*>>) : SingleBucketAggregation
Link copied to clipboard
abstract class NumericValueAgg<T, R : AggregationResult>(resultProcessor: (Deserializer.ObjectCtx) -> R) : MetricAggregation<R>
Link copied to clipboard
data class OptionalDoubleValueAggResult(val value: Double?, val valueAsString: String? = null) : SingleValueMetricAggResult<Double?>
Link copied to clipboard
Link copied to clipboard
data class PercentilesAgg(val field: FieldOperations<*>, val percents: List<Double>? = null) : MetricAggregation<PercentileAggResult>
Link copied to clipboard
data class RangeAgg<T : Number>(val value: AggValue<T>, val ranges: List<AggRange<T>>, val format: String? = null, val missing: T? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseRangeAgg<T, RangeAggResult, RangeBucket>
Link copied to clipboard
Link copied to clipboard
data class RangeBucket(val key: String, val docCount: Long, val from: Double? = null, val fromAsString: String? = null, val to: Double? = null, val toAsString: String? = null, val aggs: Map<String, AggregationResult> = emptyMap()) : KeyedBucket<String>
Link copied to clipboard
data class ScriptedMetricAgg<T>(val resultProcessor: (Deserializer.ObjectCtx) -> T, val initScript: Script? = null, val mapScript: Script, val combineScript: Script? = null, val reduceScript: Script? = null, val params: Params = Params()) : MetricAggregation<ScriptedMetricAggResult<T>>
Link copied to clipboard
Link copied to clipboard
data class SignificantTermBucket<T>(val key: T, val docCount: Long, val bgCount: Long, val score: Float, val docCountErrorUpperBound: Long? = null, val aggs: Map<String, AggregationResult> = emptyMap()) : KeyedBucket<T>
Link copied to clipboard
data class SignificantTermsAgg<T>(val value: AggValue<T>, val size: Int? = null, val shardSize: Int? = null, val minDocCount: Int? = null, val shardMinDocCount: Int? = null, val include: BaseTermsAgg.Include? = null, val exclude: BaseTermsAgg.Exclude? = null, val missing: T? = null, val order: List<BucketsOrder> = emptyList(), val collectMode: BaseTermsAgg.CollectMode? = null, val executionHint: BaseTermsAgg.ExecutionHint? = null, val backgroundFilter: QueryExpression? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseTermsAgg<T, SignificantTermsAggResult<T>>
Link copied to clipboard
data class SignificantTermsAggResult<T>(val docCount: Long, val bgCount: Long, val buckets: List<SignificantTermBucket<T>>) : BucketAggResult<SignificantTermBucket<T>>
Link copied to clipboard
Link copied to clipboard
data class SingleBucketAggResult(val docCount: Long, val aggs: Map<String, AggregationResult>) : BaseBucket, AggregationResult
Link copied to clipboard
Link copied to clipboard
data class StatsAgg<T>(val value: AggValue<T>, val missing: T? = null, val format: String? = null) : NumericValueAgg<T, StatsAggResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TermBucket<T>(val key: T & Any, val docCount: Long, val docCountErrorUpperBound: Long? = null, val aggs: Map<String, AggregationResult> = emptyMap()) : KeyedBucket<T>
Link copied to clipboard
data class TermsAgg<T>(val value: AggValue<T>, val size: Int? = null, val shardSize: Int? = null, val minDocCount: Int? = null, val shardMinDocCount: Int? = null, val include: BaseTermsAgg.Include? = null, val exclude: BaseTermsAgg.Exclude? = null, val missing: T? = null, val order: List<BucketsOrder> = emptyList(), val collectMode: BaseTermsAgg.CollectMode? = null, val executionHint: BaseTermsAgg.ExecutionHint? = null, val showTermDocCountError: Boolean? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseTermsAgg<T, TermsAggResult<T>>
Link copied to clipboard
data class TermsAggResult<T>(val buckets: List<TermBucket<T>>, val docCountErrorUpperBound: Long = 0, val sumOtherDocCount: Long = 0) : BucketAggResult<TermBucket<T>>
Link copied to clipboard
data class ValueCountAgg<T>(val value: AggValue<T>, val missing: T? = null) : NumericValueAgg<T, ValueCountAggResult>
Link copied to clipboard
Link copied to clipboard
data class WeightedAvgAgg<T>(val value: WeightedAvgAgg.ValueSource<T>, val weight: WeightedAvgAgg.ValueSource<T>, val format: String? = null) : MetricAggregation<WeightedAvgAggResult>
Link copied to clipboard