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

[BEAM-4776] make AutoValues for MetricResults, MetricQueryResults #7621

Merged
merged 2 commits into from Jan 28, 2019

Conversation

ryan-williams
Copy link
Contributor

… and remove duplicated implementations from direct and direct/portable runners

This is an early bit of cleanup that came out of work I'm doing to plumb metrics over the job API (cf. BEAM-4776). In later work I re-use these same concrete @AutoValue classes a third time.

R: @mxm, @ajamato
CC: @youngoli

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
--- --- --- ---

Copy link
Contributor

@mxm mxm left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@tweise tweise merged commit 11baa1e into apache:master Jan 28, 2019
@ryan-williams ryan-williams deleted the autovalues branch January 28, 2019 03:52
/** Return the metric results for the counters that matched the filter. */
Iterable<MetricResult<Long>> getCounters();
public abstract class MetricQueryResults {
/** Return the metric results for the getCounters that matched the filter. */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

just noticed this getCounters comment typo (and similar below); I put a fix here in #7641 for now: 6a21a6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants