All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudgraph.hbase.client.HBaseIncrement Maven / Gradle / Ivy

Go to download

CloudGraph(tm) is a suite of Service Data Object (SDO) 2.1 services designed for relational and big-table style "cloud" databases, such as HBase and others.

The newest version!
package org.cloudgraph.hbase.client;

import org.cloudgraph.core.client.Increment;

public class HBaseIncrement extends HBaseMutation implements Increment {

  private org.apache.hadoop.hbase.client.Increment increment;

  public HBaseIncrement(org.apache.hadoop.hbase.client.Increment increment) {
    super(increment);
    this.increment = increment;
  }

  public HBaseIncrement(byte[] rowKey) {
    this(new org.apache.hadoop.hbase.client.Increment(rowKey));
  }

  public org.apache.hadoop.hbase.client.Increment get() {
    return this.increment;
  }

  @Override
  public void addColumn(byte[] fam, byte[] qual, long value) {
    this.increment.addColumn(fam, qual, value);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy