T0
- type of items in stage-0 (the one you obtained this builder from)public class AggregateBuilder1<T0> extends Object
BatchStage.aggregateBuilder()
on the first stage you are co-aggregating
and refer to that method's Javadoc for further details.
Note: this is not a builder of AggregateOperation
. If that's what you are looking for, go here
.
Modifier and Type | Method and Description |
---|---|
<T> Tag<T> |
add(BatchStage<T> stage)
Adds another stage that will contribute its data to the aggregate
operation to be performed.
|
<R> BatchStage<R> |
build(AggregateOperation<?,R> aggrOp)
Creates and returns a pipeline stage that performs the co-aggregation
of pipeline stages registered with this builder object.
|
Tag<T0> |
tag0()
Returns the tag corresponding to the pipeline stage this builder
was obtained from.
|
@Nonnull public Tag<T0> tag0()
AggregateOperation
that you'll pass to build(aggrOp)
.@Nonnull public <T> Tag<T> add(@Nonnull BatchStage<T> stage)
AggregateOperation
that you'll pass to
build()
.@Nonnull public <R> BatchStage<R> build(@Nonnull AggregateOperation<?,R> aggrOp)
BatchStage.aggregateBuilder()
for more details.R
- type of the output itemaggrOp
- the aggregate operation to performCopyright © 2023 Hazelcast, Inc.. All rights reserved.