dataforge-data
/
space.kscience.dataforge.actions
/
ReduceGroupBuilder
common
Reduce
Group
Builder
class
ReduceGroupBuilder
<
T
:
Any
,
R
:
Any
>(inputType:
KType
, scope:
CoroutineScope
, actionMeta:
Meta
)
Content copied to clipboard
Functions
Properties
Functions
by
Value
Link copied to clipboard
common
fun
byValue
(tag:
String
, defaultTag:
String
= "@default", action:
JoinGroup
<
T
,
R
>.() ->
Unit
)
Content copied to clipboard
introduce grouping by meta value
group
Link copied to clipboard
common
fun
group
(groupName:
String
, filter: suspend (
Name
,
Data
<
T
>) ->
Boolean
, action:
JoinGroup
<
T
,
R
>.() ->
Unit
)
Content copied to clipboard
result
Link copied to clipboard
common
fun
result
(resultName:
String
, f: suspend
ActionEnv
.(
Map
<
Name
,
T
>) ->
R
)
Content copied to clipboard
Apply transformation to the whole node
Properties
actionMeta
Link copied to clipboard
common
val
actionMeta
:
Meta
Content copied to clipboard