Class: Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Inherits:
-
Object
- Object
- Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Defined in:
- lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb more...
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.
1471 1472 1473 1474 1475 1476 |
# File 'lib/couchbase/search_options.rb', line 1471 def initialize(name, count, min, max) @name = name @count = count @min = min @max = max end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1463 1464 1465 |
# File 'lib/couchbase/search_options.rb', line 1463 def count @count end |
#max ⇒ Integer, ... (readonly)
1469 1470 1471 |
# File 'lib/couchbase/search_options.rb', line 1469 def max @max end |
#min ⇒ Integer, ... (readonly)
1466 1467 1468 |
# File 'lib/couchbase/search_options.rb', line 1466 def min @min end |
#name ⇒ String (readonly)
1460 1461 1462 |
# File 'lib/couchbase/search_options.rb', line 1460 def name @name end |