elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.aggs
/
AggValue
/
Script
Script
data
class
Script
<
T
>
(
val
script
:
Script
,
val
type
:
FieldType
<
*
,
T
>
)
:
AggValue
<
T
>
Constructors
Functions
Properties
Constructors
Script
Link copied to clipboard
fun
<
T
>
Script
(
script
:
Script
,
type
:
FieldType
<
*
,
T
>
)
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
(
)
:
AggValue.Script
<
T
>
deserialize
Term
Link copied to clipboard
fun
deserializeTerm
(
v
:
Any
)
:
T
&
Any
get
Value
Type
Link copied to clipboard
open
override
fun
getValueType
(
)
:
FieldType
<
*
,
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
>
serialize
Term
Link copied to clipboard
fun
serializeTerm
(
v
:
T
&
Any
)
:
Any
Properties
script
Link copied to clipboard
val
script
:
Script
type
Link copied to clipboard
val
type
:
FieldType
<
*
,
T
>