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:

[View source]

1387
1388
1389
# File 'lib/couchbase/search_options.rb', line 1387

def initialize
  yield self if block_given?
end

Instance Attribute Details

#numeric_rangesArray<NumericRangeFacet>

Returns:


1380
1381
1382
# File 'lib/couchbase/search_options.rb', line 1380

def numeric_ranges
  @numeric_ranges
end

Instance Method Details

#typeObject

[View source]

1382
1383
1384
# File 'lib/couchbase/search_options.rb', line 1382

def type
  :numeric_range_facet
end