Skip to content

Add ObjectColumnSelector's methods to ColumnValueSelector interface#4801

Merged
himanshug merged 1 commit intoapache:masterfrom
metamx:column-value-selector-object-methods
Sep 19, 2017
Merged

Add ObjectColumnSelector's methods to ColumnValueSelector interface#4801
himanshug merged 1 commit intoapache:masterfrom
metamx:column-value-selector-object-methods

Conversation

@leventov
Copy link
Copy Markdown
Member

  • Renamed ObjectValueSelector.get() to getObject()
  • Added getObject() and classOfObject() to ColumnValueSelector

Follow-up of #4623. Later when doing #4622, I realised that "object" methods are also needed in the root interface.

This PR is also a foundation for #4800.

Copy link
Copy Markdown
Contributor

@drcrallen drcrallen left a comment

Choose a reason for hiding this comment

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

Mostly semantic or type safety changes. Looks good!

* @see ObjectAggregateCombiner
*/
public interface AggregateCombiner extends ColumnValueSelector
public interface AggregateCombiner<T> extends ColumnValueSelector<T>
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.

Will this cause extensions to need to be modified? or will extensions that include AggregateCombiner implementations still work the same?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

AggregateCombiner is added just recently

@himanshug himanshug merged commit 88e9a80 into apache:master Sep 19, 2017
@leventov leventov deleted the column-value-selector-object-methods branch September 19, 2017 20:41
@jon-wei jon-wei added this to the 0.11.0 milestone Oct 18, 2017
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.

4 participants