org.cloudgraph.hbase.client.SomeAdmin 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.io.IOException;
import java.util.concurrent.ExecutorService;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.client.Admin;
import org.apache.hadoop.hbase.client.BufferedMutator;
import org.apache.hadoop.hbase.client.BufferedMutatorParams;
import org.apache.hadoop.hbase.client.RegionLocator;
import org.cloudgraph.core.client.Table;
import org.cloudgraph.core.client.TableName;
public interface SomeAdmin {
public abstract void close() throws IOException;
public abstract void destroy() throws IOException;
public abstract boolean isClosed();
public abstract void abort(String why, Throwable e);
public abstract boolean isAborted();
public abstract Configuration getConfiguration();
public abstract boolean tableExists(TableName tableName) throws IOException;
public abstract Table getTable(TableName tableName) throws IOException;
public abstract Table getTable(TableName tableName, ExecutorService pool) throws IOException;
public abstract BufferedMutator getBufferedMutator(TableName tableName) throws IOException;
public abstract BufferedMutator getBufferedMutator(BufferedMutatorParams params)
throws IOException;
public abstract RegionLocator getRegionLocator(TableName tableName) throws IOException;
public abstract Admin getAdmin() throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy