R - The type of reference used by tuples.public static class Aggregator.Builder<R> extends Object
Aggregator.| Constructor and Description |
|---|
Builder()
Create a
Builder to configure a new Aggregator. |
Builder(Aggregator<R> aggregator)
Create a
Builder to configure an Aggregator. |
| Modifier and Type | Method and Description |
|---|---|
Aggregator<R> |
build()
Build the
Aggregator configured by this Builder. |
Aggregator.Builder<R> |
execute(AggregateFunction function)
Set the
AggregateFunction to be executed by the current
PassThroughFunctionContext. |
Aggregator.Builder<R> |
select(R... selection)
Set the selection references for the current
PassThroughFunctionContext. |
public Builder()
Builder to configure a new Aggregator.public Builder(Aggregator<R> aggregator)
Builder to configure an Aggregator.aggregator - Aggregator to be configured.public Aggregator.Builder<R> select(R... selection)
PassThroughFunctionContext. If
the current context already has a selection set, a new context is created and made current. Returns this
Builder for further configuration.selection - Selection references.Builder.public Aggregator.Builder<R> execute(AggregateFunction function)
AggregateFunction to be executed by the current
PassThroughFunctionContext. If the current context already has a function
set, a new context is created and made current. Returns this Builder for further configuration.function - AggregateFunction to be executed.Builder.public Aggregator<R> build()
Aggregator configured by this Builder.Aggregator.Copyright © 2017. All rights reserved.