![JAR search and dependency download from the Maven repository](/logo.png)
org.cloudgraph.hbase.client.HBaseGet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudgraph-hbase Show documentation
Show all versions of cloudgraph-hbase Show documentation
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 java.util.Map;
import java.util.NavigableSet;
import org.cloudgraph.core.client.Filter;
import org.cloudgraph.core.client.Get;
public class HBaseGet implements Get {
private org.apache.hadoop.hbase.client.Get get;
@SuppressWarnings("unused")
private HBaseGet() {
}
public HBaseGet(org.apache.hadoop.hbase.client.Get get) {
super();
this.get = get;
}
public HBaseGet(byte[] rowKey) {
this(new org.apache.hadoop.hbase.client.Get(rowKey));
}
public org.apache.hadoop.hbase.client.Get get() {
return this.get;
}
@Override
public byte[] getRow() {
return this.get.getRow();
}
@Override
public void addColumn(byte[] family, byte[] qualifier) {
this.get.addColumn(family, qualifier);
}
@Override
public void setFilter(Filter filter) {
this.get.setFilter(HBaseFilter.class.cast(filter).get());
}
@Override
public Filter getFilter() {
org.apache.hadoop.hbase.filter.Filter filter = this.get.getFilter();
if (filter != null) {
return new HBaseFilter(filter);
}
return null;
}
@Override
public Map> getFamilyMap() {
return this.get.getFamilyMap();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy