Class: Couchbase::Cluster::SearchFacetResult::DateRangeFacetResult

Inherits:
Couchbase::Cluster::SearchFacetResult show all
Defined in:
lib/couchbase/search_options.rb

Defined Under Namespace

Classes: DateRangeFacet

Instance Attribute Summary collapse

Attributes inherited from Couchbase::Cluster::SearchFacetResult

#field, #missing, #name, #other, #total

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ DateRangeFacetResult

Returns a new instance of DateRangeFacetResult.

Yield Parameters:



1334
1335
1336
1337
# File 'lib/couchbase/search_options.rb', line 1334

def initialize
  super
  yield self if block_given?
end

Instance Attribute Details

#date_rangesArray<DateRangeFacet>

Returns:



1327
1328
1329
# File 'lib/couchbase/search_options.rb', line 1327

def date_ranges
  @date_ranges
end

Instance Method Details

#typeObject



1329
1330
1331
# File 'lib/couchbase/search_options.rb', line 1329

def type
  :date_range_facet
end