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]

1471
1472
1473
1474
1475
1476
# File 'lib/couchbase/search_options.rb', line 1471

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

Instance Attribute Details

#countInteger (readonly)

Returns:

  • (Integer)

1463
1464
1465
# File 'lib/couchbase/search_options.rb', line 1463

def count
  @count
end

#maxInteger, ... (readonly)

Returns:

  • (Integer, Float, nil)

1469
1470
1471
# File 'lib/couchbase/search_options.rb', line 1469

def max
  @max
end

#minInteger, ... (readonly)

Returns:

  • (Integer, Float, nil)

1466
1467
1468
# File 'lib/couchbase/search_options.rb', line 1466

def min
  @min
end

#nameString (readonly)

Returns:

  • (String)

1460
1461
1462
# File 'lib/couchbase/search_options.rb', line 1460

def name
  @name
end