Class: Couchbase::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Inherits:
-
Object
- Object
- Couchbase::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Defined in:
- lib/couchbase/search_options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/search_options.rb
Instance Attribute Summary collapse
- #count ⇒ Integer readonly
- #max ⇒ Integer, ... readonly
- #min ⇒ Integer, ... readonly
- #name ⇒ String readonly
Instance Method Summary collapse
-
#initialize(name, count, min, max) ⇒ NumericRangeFacet
constructor
A new instance of NumericRangeFacet.
Constructor Details
#initialize(name, count, min, max) ⇒ NumericRangeFacet
Returns a new instance of NumericRangeFacet.
1633 1634 1635 1636 1637 1638 |
# File 'lib/couchbase/search_options.rb', line 1633 def initialize(name, count, min, max) @name = name @count = count @min = min @max = max end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1625 1626 1627 |
# File 'lib/couchbase/search_options.rb', line 1625 def count @count end |
#max ⇒ Integer, ... (readonly)
1631 1632 1633 |
# File 'lib/couchbase/search_options.rb', line 1631 def max @max end |
#min ⇒ Integer, ... (readonly)
1628 1629 1630 |
# File 'lib/couchbase/search_options.rb', line 1628 def min @min end |
#name ⇒ String (readonly)
1622 1623 1624 |
# File 'lib/couchbase/search_options.rb', line 1622 def name @name end |