PrepAway - Latest Free Exam Questions & Answers

Which of the following is true?

You need to insert a cell with a specific timestamp (version) 13353903160532. Which of the
following is true?

PrepAway - Latest Free Exam Questions & Answers

A.
The timestamp for the entire row must be updated to 13353903160532

B.
The Put class allows setting a cell specific timestamp

C.
The Put class allows setting a column family-specific timestamp

D.
The HTable class allows you to temporarily roll back the newer versions of the cell

Explanation:
Doing a put always creates a new version of a cell, at a certain timestamp. By
default the system uses the server’s currentTimeMillis, but you can specify the version (= the long
integer) yourself, on a per-column level. This means you could assign a time in the past or the
future, or use the long value for non-time purposes.
To overwrite an existing value, do a put at exactly the same row, column, and version as that of
the cell you would overshadow.
Reference:Versions, Put

PrepAway - Latest Free Exam Questions & Answers

One Comment on “Which of the following is true?


Leave a Reply

Your email address will not be published. Required fields are marked *