public class DualExecutor extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DualExecutor.ActionType |
static class |
DualExecutor.Role |
| 构造器和说明 |
|---|
DualExecutor(org.apache.hadoop.conf.Configuration conf) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
static String |
createTableConfKey(String tableName,
String confKey) |
Void |
dualBatchDelete(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
List<org.apache.hadoop.hbase.client.Delete> deletes,
int glitchTimeout,
int operationTimeout) |
org.apache.hadoop.hbase.client.Result[] |
dualBatchGet(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
List<org.apache.hadoop.hbase.client.Get> gets,
int glitchTimeout,
int operationTimeout) |
Void |
dualBatchPut(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
List<org.apache.hadoop.hbase.client.Put> puts,
int glitchTimeout,
int operationTimeout) |
Void |
dualDelete(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
org.apache.hadoop.hbase.client.Delete delete,
int glitchTimeout,
int operationTimeout) |
org.apache.hadoop.hbase.client.Result |
dualGet(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
org.apache.hadoop.hbase.client.Get get,
int glitchTimeout,
int operationTimeout) |
DualScannerResult |
dualNext(org.apache.hadoop.hbase.client.ResultScanner activeScanner,
org.apache.hadoop.hbase.client.ResultScanner standbyScanner,
byte[] tableName,
int glitchTimeout,
int operationTimeout) |
Void |
dualPut(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
org.apache.hadoop.hbase.client.Put put,
int glitchTimeout,
int operationTimeout) |
public org.apache.hadoop.hbase.client.Result dualGet(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
org.apache.hadoop.hbase.client.Get get,
int glitchTimeout,
int operationTimeout)
throws IOException
IOExceptionpublic Void dualPut(org.apache.hadoop.hbase.client.HTable activeTable, org.apache.hadoop.hbase.client.HTable standbyTable, byte[] tableName, org.apache.hadoop.hbase.client.Put put, int glitchTimeout, int operationTimeout) throws IOException
IOExceptionpublic Void dualDelete(org.apache.hadoop.hbase.client.HTable activeTable, org.apache.hadoop.hbase.client.HTable standbyTable, byte[] tableName, org.apache.hadoop.hbase.client.Delete delete, int glitchTimeout, int operationTimeout) throws IOException
IOExceptionpublic org.apache.hadoop.hbase.client.Result[] dualBatchGet(org.apache.hadoop.hbase.client.HTable activeTable,
org.apache.hadoop.hbase.client.HTable standbyTable,
byte[] tableName,
List<org.apache.hadoop.hbase.client.Get> gets,
int glitchTimeout,
int operationTimeout)
throws IOException
IOExceptionpublic Void dualBatchPut(org.apache.hadoop.hbase.client.HTable activeTable, org.apache.hadoop.hbase.client.HTable standbyTable, byte[] tableName, List<org.apache.hadoop.hbase.client.Put> puts, int glitchTimeout, int operationTimeout) throws IOException
IOExceptionpublic Void dualBatchDelete(org.apache.hadoop.hbase.client.HTable activeTable, org.apache.hadoop.hbase.client.HTable standbyTable, byte[] tableName, List<org.apache.hadoop.hbase.client.Delete> deletes, int glitchTimeout, int operationTimeout) throws IOException
IOExceptionpublic DualScannerResult dualNext(org.apache.hadoop.hbase.client.ResultScanner activeScanner, org.apache.hadoop.hbase.client.ResultScanner standbyScanner, byte[] tableName, int glitchTimeout, int operationTimeout) throws IOException
IOExceptionpublic void close()
Copyright © 2019. All rights reserved.