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

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of NumericRangeFacet.

[View source]

1394
1395
1396
1397
1398
1399
# File 'lib/couchbase/search_options.rb', line 1394

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

Instance Attribute Details

#countInteger (readonly)

Returns:

  • (Integer)

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

def count
  @count
end

#maxInteger, ... (readonly)

Returns:

  • (Integer, Float, nil)

1392
1393
1394
# File 'lib/couchbase/search_options.rb', line 1392

def max
  @max
end

#minInteger, ... (readonly)

Returns:

  • (Integer, Float, nil)

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

def min
  @min
end

#nameString (readonly)

Returns:

  • (String)

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

def name
  @name
end