Class: Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult

Inherits:
Couchbase::Cluster::SearchFacetResult show all
Defined in:
lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb
more...

Defined Under Namespace

Classes: NumericRangeFacet

Instance Attribute Summary collapse

Attributes inherited from Couchbase::Cluster::SearchFacetResult

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of NumericRangeFacetResult.

Yield Parameters:

[View source]

1453
1454
1455
1456
# File 'lib/couchbase/search_options.rb', line 1453

def initialize
  super
  yield self if block_given?
end

Instance Attribute Details

#numeric_rangesArray<NumericRangeFacet>

Returns:


1446
1447
1448
# File 'lib/couchbase/search_options.rb', line 1446

def numeric_ranges
  @numeric_ranges
end

Instance Method Details

#typeObject

[View source]

1448
1449
1450
# File 'lib/couchbase/search_options.rb', line 1448

def type
  :numeric_range_facet
end