Class: Couchbase::Cluster::SearchFacetResult::DateRangeFacetResult
- Inherits:
-
Couchbase::Cluster::SearchFacetResult
- Object
- Couchbase::Cluster::SearchFacetResult
- Couchbase::Cluster::SearchFacetResult::DateRangeFacetResult
- Defined in:
- lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb more...
Defined Under Namespace
Classes: DateRangeFacet
Instance Attribute Summary collapse
Attributes inherited from Couchbase::Cluster::SearchFacetResult
#field, #missing, #name, #other, #total
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ DateRangeFacetResult
constructor
A new instance of DateRangeFacetResult.
- #type ⇒ Object
Constructor Details
#initialize {|self| ... } ⇒ DateRangeFacetResult
Returns a new instance of DateRangeFacetResult.
1340 1341 1342 1343 |
# File 'lib/couchbase/search_options.rb', line 1340 def initialize super yield self if block_given? end |
Instance Attribute Details
#date_ranges ⇒ Array<DateRangeFacet>
1333 1334 1335 |
# File 'lib/couchbase/search_options.rb', line 1333 def date_ranges @date_ranges end |
Instance Method Details
#type ⇒ Object
[View source]
1335 1336 1337 |
# File 'lib/couchbase/search_options.rb', line 1335 def type :date_range_facet end |