Class: Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult
- Inherits:
-
Couchbase::Cluster::SearchFacetResult
- Object
- Couchbase::Cluster::SearchFacetResult
- Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult
- Defined in:
- lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb more...
Defined Under Namespace
Classes: NumericRangeFacet
Instance Attribute Summary collapse
Attributes inherited from Couchbase::Cluster::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.
1376 1377 1378 1379 |
# File 'lib/couchbase/search_options.rb', line 1376 def initialize super yield self if block_given? end |
Instance Attribute Details
#numeric_ranges ⇒ Array<NumericRangeFacet>
1369 1370 1371 |
# File 'lib/couchbase/search_options.rb', line 1369 def numeric_ranges @numeric_ranges end |
Instance Method Details
#type ⇒ Object
[View source]
1371 1372 1373 |
# File 'lib/couchbase/search_options.rb', line 1371 def type :numeric_range_facet end |