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
Cleanup aggs java api #4922
Labels
Comments
uboness
added a commit
that referenced
this issue
Jan 28, 2014
- add javadocs - remove Iterable from all multi-bucket aggregations - all single-bucket aggregations should have getDocCount() and getAggregations() - all multi-bucket aggregations should have getBuckets() that returns Collection - every multi-bucket aggregation should have these methods: - getBuckets() : Collection - getBucketByKey(String) : Bucket - getBucketByKey(Number) : Bucket (only for numeric buckets) - getBucketByKey(DateTime) : Bucket (only for date buckets) - getBucketByKey(GeoPoint) : Bucket (only for geohash_grid) - every bucket in all multi-bucket aggregations should have these methods: - getKey() : String - getKeyAsText() : Text - getKeyAsNumber() : Number (if the key can be numeric value, eg. range & histograms) - getKeyAsGeoPoint() : GeoPoint (in case of the geohash_grid agg) Closes #4922
uboness
added a commit
that referenced
this issue
Jan 28, 2014
- add javadocs - remove Iterable from all multi-bucket aggregations - all single-bucket aggregations should have getDocCount() and getAggregations() - all multi-bucket aggregations should have getBuckets() that returns Collection - every multi-bucket aggregation should have these methods: - getBuckets() : Collection - getBucketByKey(String) : Bucket - getBucketByKey(Number) : Bucket (only for numeric buckets) - getBucketByKey(DateTime) : Bucket (only for date buckets) - getBucketByKey(GeoPoint) : Bucket (only for geohash_grid) - every bucket in all multi-bucket aggregations should have these methods: - getKey() : String - getKeyAsText() : Text - getKeyAsNumber() : Number (if the key can be numeric value, eg. range & histograms) - getKeyAsGeoPoint() : GeoPoint (in case of the geohash_grid agg) Closes #4922
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
- add javadocs - remove Iterable from all multi-bucket aggregations - all single-bucket aggregations should have getDocCount() and getAggregations() - all multi-bucket aggregations should have getBuckets() that returns Collection - every multi-bucket aggregation should have these methods: - getBuckets() : Collection - getBucketByKey(String) : Bucket - getBucketByKey(Number) : Bucket (only for numeric buckets) - getBucketByKey(DateTime) : Bucket (only for date buckets) - getBucketByKey(GeoPoint) : Bucket (only for geohash_grid) - every bucket in all multi-bucket aggregations should have these methods: - getKey() : String - getKeyAsText() : Text - getKeyAsNumber() : Number (if the key can be numeric value, eg. range & histograms) - getKeyAsGeoPoint() : GeoPoint (in case of the geohash_grid agg) Closes elastic#4922
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: