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]' –