cod*_*Foo 12
假设您的客户端已配置并且您有一个表设置.执行get返回Result
Get get = new Get(Bytes.toBytes("row_key"));
Result result_foo = table.get(get);
Run Code Online (Sandbox Code Playgroud)
结果由KeyValue支持.KeyValues包含时间戳.您可以使用list()获取KeyValues列表,也可以使用raw()获取数组.KeyValue具有get timestamp方法.
result_foo.raw()[0].getTimestamp()
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
12435 次 |
| 最近记录: |