Class: Couchbase::SearchFacetResult::NumericRangeFacetResult
- Inherits:
-
Couchbase::SearchFacetResult
- Object
- Couchbase::SearchFacetResult
- Couchbase::SearchFacetResult::NumericRangeFacetResult
- 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
-
#initialize {|self| ... } ⇒ NumericRangeFacetResult
constructor
A new instance of NumericRangeFacetResult.
- #type ⇒ Object
Constructor Details
#initialize {|self| ... } ⇒ NumericRangeFacetResult
Returns a new instance of NumericRangeFacetResult.
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_ranges ⇒ Array<NumericRangeFacet>
1514 1515 1516 |
# File 'lib/couchbase/search_options.rb', line 1514 def numeric_ranges @numeric_ranges end |
Instance Method Details
#type ⇒ Object
1516 1517 1518 |
# File 'lib/couchbase/search_options.rb', line 1516 def type :numeric_range_facet end |