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

org.cloudgraph.hbase.client.HBaseCellUtil 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.Cell;
import org.cloudgraph.core.client.CellUtil;

public class HBaseCellUtil implements CellUtil {

  @Override
  public byte[] cloneValue(Cell cell) {
    return org.apache.hadoop.hbase.CellUtil.cloneValue(HBaseCell.class.cast(cell).get());
  }

  @Override
  public byte[] cloneQualifier(Cell cell) {
    return org.apache.hadoop.hbase.CellUtil.cloneQualifier(HBaseCell.class.cast(cell).get());
  }

  @Override
  public byte[] cloneFamily(Cell cell) {
    return org.apache.hadoop.hbase.CellUtil.cloneFamily(HBaseCell.class.cast(cell).get());
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy