Class: Metadata::TableOptions
- Inherits:
-
Object
- Object
- Metadata::TableOptions
- Defined in:
- lib/tablestore/metadata.rb
Instance Attribute Summary collapse
-
#max_time_deviation ⇒ Object
Returns the value of attribute max_time_deviation.
-
#max_version ⇒ Object
Returns the value of attribute max_version.
-
#time_to_live ⇒ Object
Returns the value of attribute time_to_live.
Instance Method Summary collapse
-
#initialize(time_to_live = -1,, max_version = 1, max_time_deviation = 86400) ⇒ TableOptions
constructor
A new instance of TableOptions.
Constructor Details
#initialize(time_to_live = -1,, max_version = 1, max_time_deviation = 86400) ⇒ TableOptions
Returns a new instance of TableOptions.
54 55 56 57 58 |
# File 'lib/tablestore/metadata.rb', line 54 def initialize(time_to_live = -1, max_version = 1, max_time_deviation = 86400) self.time_to_live = time_to_live self.max_version = max_version self.max_time_deviation = max_time_deviation end |
Instance Attribute Details
#max_time_deviation ⇒ Object
Returns the value of attribute max_time_deviation.
53 54 55 |
# File 'lib/tablestore/metadata.rb', line 53 def max_time_deviation @max_time_deviation end |
#max_version ⇒ Object
Returns the value of attribute max_version.
53 54 55 |
# File 'lib/tablestore/metadata.rb', line 53 def max_version @max_version end |
#time_to_live ⇒ Object
Returns the value of attribute time_to_live.
53 54 55 |
# File 'lib/tablestore/metadata.rb', line 53 def time_to_live @time_to_live end |