edit-icon download-icon

TableOptions

Last Updated: Mar 23, 2018

TableOptions indicates the table parameters, including TimeToLive and MaxVersions.

Data structure

  1. message TableOptions {
  2. optional int32 time_to_live = 1; // It can be dynamically modified
  3. optional int32 max_versions = 2; // It can be dynamically modified
  4. optional int64 deviation_cell_version_in_sec = 5; // It can be dynamically modified
  5. }

time_to_live:

  • Type: int32

  • The retention time of data stored in this table (unit: second).

max_versions:

  • Type: int32

  • The maximum number of versions stored in this table.

deviation_cell_version_in_sec:

  • Type: int64

  • The maximum version deviation. This parameter is used to forbid writing data that deviates from the expected output. For example, if the value of deviation_cell_version_in_sec is 1000 and the current time stamp is 10000, the allowed time stamp range to be written is [10000 – 1000, 10000 + 1000].

Thank you! We've received your feedback.