11 假設您的客戶端已配置,並且您有一個表設置。做一個GET返回一個Result Get get = new Get(Bytes.toBytes("row_key")); Result result_foo = table.get(get); 結果是由KeyValue支持。 KeyValues包含時間戳。您可以使用list()獲取KeyValues列表,或者使用raw()獲取數組。 KeyValue有一個獲取時間戳方法。 result_foo.raw()[0].getTimestamp() 來源 2011-11-30 18:30:12 codingFoo
0 result_foo.rawCells()(0).getTimestamp 是一個良好的作風 來源 2015-11-16 11:02:50 ljp +1 仍然需要大約索引,例如方括號'rawCells()[0]' –
仍然需要大約索引,例如方括號'rawCells()[0]' –