Class: ElasticRecord::AggregationResponse::SingleBucketAggregation

Inherits:
Aggregation
  • Object
show all
Includes:
HasAggregations
Defined in:
lib/elastic_record/aggregation_response/single_bucket_aggregation.rb

Instance Attribute Summary collapse

Attributes inherited from Aggregation

#meta, #name, #results

Method Summary

Methods included from HasAggregations

#aggregations

Methods inherited from Aggregation

#initialize, #inspect

Constructor Details

This class inherits a constructor from ElasticRecord::AggregationResponse::Aggregation

Instance Attribute Details

#doc_countObject

Returns the value of attribute doc_count.



5
6
7
# File 'lib/elastic_record/aggregation_response/single_bucket_aggregation.rb', line 5

def doc_count
  @doc_count
end