Class: Couchbase::SearchFacetResult::NumericRangeFacetResult

Inherits:
Couchbase::SearchFacetResult show all
Defined in:
lib/couchbase/search_options.rb

Defined Under Namespace

Classes: NumericRangeFacet

Instance Attribute Summary collapse

Attributes inherited from Couchbase::SearchFacetResult

#field, #missing, #name, #other, #total

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ NumericRangeFacetResult

Returns a new instance of NumericRangeFacetResult.

Yield Parameters:



1521
1522
1523
1524
# File 'lib/couchbase/search_options.rb', line 1521

def initialize
  super
  yield self if block_given?
end

Instance Attribute Details

#numeric_rangesArray<NumericRangeFacet>

Returns:



1514
1515
1516
# File 'lib/couchbase/search_options.rb', line 1514

def numeric_ranges
  @numeric_ranges
end

Instance Method Details

#typeObject



1516
1517
1518
# File 'lib/couchbase/search_options.rb', line 1516

def type
  :numeric_range_facet
end