elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.aggs
/
AggValue
/
ValueScript
Value
Script
data
class
ValueScript
<
T
>
(
val
field
:
FieldOperations
<
*
>
,
val
script
:
Script
,
val
type
:
FieldType
<
*
,
T
>
)
:
AggValue
<
T
>
Constructors
Functions
Properties
Constructors
Value
Script
Link copied to clipboard
fun
<
T
>
ValueScript
(
field
:
FieldOperations
<
*
>
,
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.ValueScript
<
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
field
Link copied to clipboard
val
field
:
FieldOperations
<
*
>
script
Link copied to clipboard
val
script
:
Script
type
Link copied to clipboard
val
type
:
FieldType
<
*
,
T
>