本文整理汇总了Java中org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel类的典型用法代码示例。如果您正苦于以下问题:Java RegionCoprocessorRpcChannel类的具体用法?Java RegionCoprocessorRpcChannel怎么用?Java RegionCoprocessorRpcChannel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RegionCoprocessorRpcChannel类属于org.apache.hadoop.hbase.ipc包,在下文中一共展示了RegionCoprocessorRpcChannel类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: coprocessorService
import org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public CoprocessorRpcChannel coprocessorService(byte[] row) {
return new RegionCoprocessorRpcChannel(connection, tableName, row);
}
示例2: coprocessorService
import org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
public CoprocessorRpcChannel coprocessorService(byte[] row) {
return new RegionCoprocessorRpcChannel(connection, tableName, row, rpcCallerFactory,
rpcControllerFactory);
}
示例3: coprocessorService
import org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
public CoprocessorRpcChannel coprocessorService(byte[] row) {
return new RegionCoprocessorRpcChannel(connection, tableName, row);
}
示例4: newChannel
import org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel; //导入依赖的package包/类
@Override
public CoprocessorRpcChannel newChannel(TableName tableName,byte[] regionKey) throws IOException{
Connection conn=HBaseConnectionFactory.getInstance(config).getNoRetryConnection();
return new RegionCoprocessorRpcChannel((HConnection)conn,tableName,regionKey);
}
示例5: newChannel
import org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel; //导入依赖的package包/类
@Override
public CoprocessorRpcChannel newChannel(TableName tableName,byte[] regionKey) throws IOException{
Connection conn=HBaseConnectionFactory.getInstance(config).getNoRetryConnection();
return new RegionCoprocessorRpcChannel((ClusterConnection)conn,tableName,regionKey);
}
示例6: newChannel
import org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel; //导入依赖的package包/类
@Override
public CoprocessorRpcChannel newChannel(TableName tableName,byte[] regionKey) throws IOException{
Connection conn=HBaseConnectionFactory.getInstance(config).getNoRetryConnection();
return new RegionCoprocessorRpcChannel((HConnection) conn,tableName,regionKey);
}
示例7: newChannel
import org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel; //导入依赖的package包/类
@Override
public CoprocessorRpcChannel newChannel(TableName tableName,byte[] regionKey) throws IOException{
Connection conn=HBaseConnectionFactory.getInstance(config).getNoRetryConnection();
return new RegionCoprocessorRpcChannel((ClusterConnection) conn,tableName,regionKey);
}