本文整理了Java中org.apache.hadoop.hbase.client.Table.batchCallback()
方法的一些代码示例,展示了Table.batchCallback()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.batchCallback()
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.client.Table
类名称:Table
方法名:batchCallback
[英]Same as #batch(List), but with a callback.
[中]与#批处理(列表)相同,但带有回调。
代码示例来源:origin: apache/phoenix
@Override
public <R> void batchCallback(List<? extends Row> actions, Object[] results,
Callback<R> callback) throws IOException, InterruptedException {
delegate.batchCallback(actions, results, callback);
}
代码示例来源:origin: larsgeorge/hbase-book
table.batchCallback(batch, results, new Batch.Callback<Result>() {
@Override
public void update(byte[] region, byte[] row, Result result) {
代码示例来源:origin: org.apache.phoenix/phoenix-core
@Override
public <R> void batchCallback(List<? extends Row> actions, Object[] results,
Callback<R> callback) throws IOException, InterruptedException {
delegate.batchCallback(actions, results, callback);
}
代码示例来源:origin: com.aliyun.phoenix/ali-phoenix-core
@Override
public <R> void batchCallback(List<? extends Row> actions, Object[] results,
Callback<R> callback) throws IOException, InterruptedException {
delegate.batchCallback(actions, results, callback);
}
代码示例来源:origin: org.apache.tephra/tephra-hbase-compat-1.1
@Override
public <R> Object[] batchCallback(List<? extends Row> actions, Batch.Callback<R> callback) throws IOException,
InterruptedException {
if (tx == null) {
throw new IOException("Transaction not started");
}
return hTable.batchCallback(transactionalizeActions(actions), callback);
}
代码示例来源:origin: org.apache.tephra/tephra-hbase-compat-1.1
@Override
public <R> void batchCallback(List<? extends Row> actions, Object[] results, Batch.Callback<R> callback) throws
IOException, InterruptedException {
if (tx == null) {
throw new IOException("Transaction not started");
}
hTable.batchCallback(transactionalizeActions(actions), results, callback);
}
内容来源于网络,如有侵权,请联系作者删除!