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

org.cloudgraph.rocksdb.io.CellUtil 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.rocksdb.io;

import org.cloudgraph.core.client.Cell;
import org.cloudgraph.core.client.KeyValue;

public class CellUtil {

  public static byte[] cloneFamily(KeyValue keyValue) {
    return keyValue.getFamily();
  }

  public static byte[] cloneQualifier(KeyValue keyValue) {
    return keyValue.getQualifier();
  }

  public static byte[] cloneValue(Cell cell) {
    return cell.getValueArray();
  }

  public static byte[] cloneFamily(Cell cell) {
    return cell.getFamilyArray();
  }

  public static byte[] cloneQualifier(Cell cell) {
    return cell.getQualifierArray();
  }

  public static byte[] cloneValue(KeyValue keyValue) {
    return keyValue.getValue();
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy