Skip to main content

@terascope/data-mate / column/aggregations / FieldAgg

Interface: FieldAgg

Defined in: data-mate/src/column/aggregations.ts:17

Properties​

PropertyTypeDescriptionDefined in
adjustsSelectedRowbooleanIf this returns true, then the flush method will return an index which will indicate which row to selectdata-mate/src/column/aggregations.ts:22

Methods​

flush()​

flush(): object

Defined in: data-mate/src/column/aggregations.ts:24

Returns​

index?​

readonly optional index?: number

This index will indicate which row to select, this will conflict with other aggregations that return the same row

value​

readonly value: unknown


push()​

push(value, index): void

Defined in: data-mate/src/column/aggregations.ts:23

Parameters​

ParameterType
valueunknown
indexnumber

Returns​

void