Class: Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, count, min, max) ⇒ NumericRangeFacet

Returns a new instance of NumericRangeFacet.



1388
1389
1390
1391
1392
1393
# File 'lib/couchbase/search_options.rb', line 1388

def initialize(name, count, min, max)
  @name = name
  @count = count
  @min = min
  @max = max
end

Instance Attribute Details

#countInteger (readonly)

Returns:

  • (Integer)


1380
1381
1382
# File 'lib/couchbase/search_options.rb', line 1380

def count
  @count
end

#maxInteger, ... (readonly)

Returns:

  • (Integer, Float, nil)


1386
1387
1388
# File 'lib/couchbase/search_options.rb', line 1386

def max
  @max
end

#minInteger, ... (readonly)

Returns:

  • (Integer, Float, nil)


1383
1384
1385
# File 'lib/couchbase/search_options.rb', line 1383

def min
  @min
end

#nameString (readonly)

Returns:

  • (String)


1377
1378
1379
# File 'lib/couchbase/search_options.rb', line 1377

def name
  @name
end