本文整理汇总了Java中org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler类的典型用法代码示例。如果您正苦于以下问题:Java TableDeleteFamilyHandler类的具体用法?Java TableDeleteFamilyHandler怎么用?Java TableDeleteFamilyHandler使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
TableDeleteFamilyHandler类属于org.apache.hadoop.hbase.master.handler包,在下文中一共展示了TableDeleteFamilyHandler类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: deleteColumn
import org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler; //导入依赖的package包/类
public void deleteColumn(final byte [] tableName, final byte [] c)
throws IOException {
checkInitialized();
if (cpHost != null) {
if (cpHost.preDeleteColumn(tableName, c)) {
return;
}
}
new TableDeleteFamilyHandler(tableName, c, this, this).process();
if (cpHost != null) {
cpHost.postDeleteColumn(tableName, c);
}
}
示例2: deleteColumn
import org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler; //导入依赖的package包/类
@Override
public void deleteColumn(final TableName tableName, final byte[] columnName)
throws IOException {
checkInitialized();
if (cpHost != null) {
if (cpHost.preDeleteColumn(tableName, columnName)) {
return;
}
}
LOG.info(getClientIdAuditPrefix() + " delete " + Bytes.toString(columnName));
new TableDeleteFamilyHandler(tableName, columnName, this, this).prepare().process();
if (cpHost != null) {
cpHost.postDeleteColumn(tableName, columnName);
}
}
示例3: deleteColumn
import org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler; //导入依赖的package包/类
@Override
public void deleteColumn(final TableName tableName, final byte[] columnName)
throws IOException {
checkInitialized();
if (cpHost != null) {
if (cpHost.preDeleteColumn(tableName, columnName)) {
return;
}
}
LOG.info(getClientIdAuditPrefix() + " delete " + Bytes.toString(columnName));
new TableDeleteFamilyHandler(tableName, columnName, this, this).prepare().process();
if (cpHost != null) {
cpHost.postDeleteColumn(tableName, columnName);
}
}
示例4: deleteColumn
import org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler; //导入依赖的package包/类
public void deleteColumn(final byte [] tableName, final byte [] c)
throws IOException {
if (cpHost != null) {
if (cpHost.preDeleteColumn(tableName, c)) {
return;
}
}
new TableDeleteFamilyHandler(tableName, c, this, this).process();
if (cpHost != null) {
cpHost.postDeleteColumn(tableName, c);
}
}
示例5: deleteColumn
import org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler; //导入依赖的package包/类
@Override
public void deleteColumn(final byte[] tableName, final byte[] columnName)
throws IOException {
checkInitialized();
if (cpHost != null) {
if (cpHost.preDeleteColumn(tableName, columnName)) {
return;
}
}
new TableDeleteFamilyHandler(tableName, columnName, this, this).process();
if (cpHost != null) {
cpHost.postDeleteColumn(tableName, columnName);
}
}