org.apache.hadoop.hbase.client.Append.getAttributesMap()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(0.8k)|赞(0)|评价(0)|浏览(125)

本文整理了Java中org.apache.hadoop.hbase.client.Append.getAttributesMap()方法的一些代码示例,展示了Append.getAttributesMap()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Append.getAttributesMap()方法的具体详情如下:
包路径:org.apache.hadoop.hbase.client.Append
类名称:Append
方法名:getAttributesMap

Append.getAttributesMap介绍

暂无

代码示例

代码示例来源:origin: apache/hbase

  1. for (Map.Entry<String, byte[]> attribute : in.getAttributesMap().entrySet()) {
  2. out.putToAttributes(ByteBuffer.wrap(Bytes.toBytes(attribute.getKey())),
  3. ByteBuffer.wrap(attribute.getValue()));

代码示例来源:origin: harbby/presto-connectors

  1. /**
  2. * Copy constructor
  3. * @param a
  4. */
  5. public Append(Append a) {
  6. this.row = a.getRow();
  7. this.ts = a.getTimeStamp();
  8. this.familyMap.putAll(a.getFamilyCellMap());
  9. for (Map.Entry<String, byte[]> entry : a.getAttributesMap().entrySet()) {
  10. this.setAttribute(entry.getKey(), entry.getValue());
  11. }
  12. }

相关文章