Class: Arelastic::Aggregations::Parent

Inherits:
SpecialSingleBucket show all
Defined in:
lib/arelastic/aggregations/parent.rb

Instance Attribute Summary

Attributes inherited from SpecialSingleBucket

#specification

Attributes inherited from Bucket

#aggs

Attributes inherited from Aggregation

#meta, #name, #options

Instance Method Summary collapse

Methods inherited from SpecialSingleBucket

#as_elastic_aggregation, #initialize

Methods inherited from Bucket

#as_elastic_aggregation, #initialize

Methods inherited from Aggregation

#as_elastic, #initialize, #nested, #reverse_nested

Methods inherited from Nodes::Node

#==, #convert_to_elastic, #read_option!

Methods included from Arelastic::Arities::Binary

#binary

Methods included from Arelastic::Arities::Polyadic

#polyadic

Methods included from Arelastic::Arities::Unary

#unary

Constructor Details

This class inherits a constructor from Arelastic::Aggregations::SpecialSingleBucket

Instance Method Details

#aggregation_nameObject



4
5
6
# File 'lib/arelastic/aggregations/parent.rb', line 4

def aggregation_name
  'parent'
end

#specification_keyObject



8
9
10
# File 'lib/arelastic/aggregations/parent.rb', line 8

def specification_key
  'type'
end