Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor of Jet collectors into a new type called Reducer #313

Merged
merged 1 commit into from Feb 14, 2017

Conversation

cangencer
Copy link
Contributor

The Reducer is a generalisation of j.u.s Collector and
models the terminal operation of a stream, and has the
responsbility to build the DAG and execute it.

The new interface also allows a distinction between j.u.s.
Collectors which can be used downstream, and Jet-specific
constructs such as DistributedCollectors.toIMap()

Fixes #309

The `Reducer` is a generalisation of j.u.s `Collector` and
models the terminal operation of a stream, and has the
responsbility to build the DAG and execute it.

The new interface also allows a distinction between j.u.s.
Collectors which can be used downstream, and Jet-specific
constructs such as `DistributedCollectors.toIMap()`

Fixes hazelcast#309
@mtopolnik mtopolnik merged commit ab3633f into hazelcast:master Feb 14, 2017
@cangencer cangencer deleted the collectors branch February 15, 2017 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants