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

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

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:



1370
1371
1372
1373
# File 'lib/couchbase/search_options.rb', line 1370

def initialize
  super
  yield self if block_given?
end

Instance Attribute Details

#numeric_rangesArray<NumericRangeFacet>

Returns:



1363
1364
1365
# File 'lib/couchbase/search_options.rb', line 1363

def numeric_ranges
  @numeric_ranges
end

Instance Method Details

#typeObject



1365
1366
1367
# File 'lib/couchbase/search_options.rb', line 1365

def type
  :numeric_range_facet
end