elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.aggs
/
WeightedAvgAgg
/
ValueSource
Value
Source
data
class
ValueSource
<
T
>
(
val
value
:
AggValue
<
T
>
,
val
script
:
Script
?
=
null
,
val
missing
:
T
?
=
null
)
:
ObjExpression
Constructors
Functions
Properties
Constructors
Value
Source
Link copied to clipboard
fun
<
T
>
ValueSource
(
field
:
FieldOperations
<
T
>
,
missing
:
T
?
=
null
)
Value
Source
Link copied to clipboard
fun
<
T
>
ValueSource
(
value
:
AggValue
<
T
>
,
script
:
Script
?
=
null
,
missing
:
T
?
=
null
)
Functions
accept
Link copied to clipboard
open
override
fun
accept
(
ctx
:
Serializer.ObjectCtx
,
compiler
:
BaseSearchQueryCompiler
)
children
Link copied to clipboard
open
fun
children
(
)
:
Iterator
<
Expression
<
*
>
>
?
clone
Link copied to clipboard
open
override
fun
clone
(
)
:
WeightedAvgAgg.ValueSource
<
T
>
reduce
Link copied to clipboard
open
fun
reduce
(
)
:
Expression
<
Serializer.ObjectCtx
>
?
rewrite
Link copied to clipboard
open
fun
rewrite
(
newNode
:
QueryExpressionNode
<
*
>
)
:
Expression
<
Serializer.ObjectCtx
>
Properties
missing
Link copied to clipboard
val
missing
:
T
?
=
null
script
Link copied to clipboard
val
script
:
Script
?
=
null
value
Link copied to clipboard
val
value
:
AggValue
<
T
>