Class: Druid::PostAggregationHistogramBuckets
- Inherits:
-
PostAggregation
- Object
- PostAggregation
- Druid::PostAggregationHistogramBuckets
- Defined in:
- lib/druid/post_aggregation.rb
Instance Attribute Summary collapse
-
#bucketSize ⇒ Object
Returns the value of attribute bucketSize.
-
#offset ⇒ Object
Returns the value of attribute offset.
Attributes inherited from PostAggregation
#fieldName, #fieldNames, #fields, #fn, #function, #name, #numBuckets, #type, #value
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ PostAggregationHistogramBuckets
constructor
A new instance of PostAggregationHistogramBuckets.
Methods inherited from PostAggregation
Constructor Details
#initialize(attributes = {}) ⇒ PostAggregationHistogramBuckets
Returns a new instance of PostAggregationHistogramBuckets.
227 228 229 230 |
# File 'lib/druid/post_aggregation.rb', line 227 def initialize(attributes = {}) super @type = "buckets" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Druid::PostAggregation
Instance Attribute Details
#bucketSize ⇒ Object
Returns the value of attribute bucketSize.
225 226 227 |
# File 'lib/druid/post_aggregation.rb', line 225 def bucketSize @bucketSize end |
#offset ⇒ Object
Returns the value of attribute offset.
226 227 228 |
# File 'lib/druid/post_aggregation.rb', line 226 def offset @offset end |