Skip to content

AggregatorBuilder and PipelineAggregatorBuilder do not need generics.#18368

Merged
jpountz merged 1 commit intoelastic:masterfrom
jpountz:fix/agg_builder_generics
Jun 1, 2016
Merged

AggregatorBuilder and PipelineAggregatorBuilder do not need generics.#18368
jpountz merged 1 commit intoelastic:masterfrom
jpountz:fix/agg_builder_generics

Conversation

@jpountz
Copy link
Copy Markdown
Contributor

@jpountz jpountz commented May 16, 2016

Similar reasoning as #18133 but for the aggs API. One important change is that
I moved the base PipelineAggregatorBuilder class to the o.e.s.aggregations
package instead of o.e.s.aggregations.pipeline so that the create method does
not need to be public.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to import both PipelineAggregatorBuilder and AbstractPipelineAggregatorBuilder here?

@colings86
Copy link
Copy Markdown
Contributor

@jpountz I left some minor comments but LGTM

…lastic#18368

Similar reasoning as elastic#18133 but for the aggs API. One important change is that
I moved the base PipelineAggregatorBuilder class to the o.e.s.aggregations
package instead of o.e.s.aggregations.pipeline so that the create method does
not need to be public.
@jpountz jpountz force-pushed the fix/agg_builder_generics branch from d1a2a49 to a78c7d9 Compare June 1, 2016 08:23
@jpountz jpountz merged commit a78c7d9 into elastic:master Jun 1, 2016
@jpountz jpountz deleted the fix/agg_builder_generics branch June 1, 2016 08:23
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.

3 participants