本文整理了Java中org.apache.hadoop.hbase.client.Get.getPriority()
方法的一些代码示例,展示了Get.getPriority()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Get.getPriority()
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.client.Get
类名称:Get
方法名:getPriority
暂无
代码示例来源:origin: apache/hbase
setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax());
super.setPriority(get.getPriority());
代码示例来源:origin: apache/hbase
setPriority(get.getPriority());
super.setReplicaId(get.getReplicaId());
代码示例来源:origin: apache/hbase
final Get configuredGet = get;
ClientServiceCallable<Result> callable = new ClientServiceCallable<Result>(this.connection, getName(),
get.getRow(), this.rpcControllerFactory.newController(), get.getPriority()) {
@Override
protected Result rpcCall() throws Exception {
代码示例来源:origin: apache/hbase
assertEquals(get.getACL(), scan.getACL());
assertEquals(get.getAuthorizations().getLabels(), scan.getAuthorizations().getLabels());
assertEquals(get.getPriority(), scan.getPriority());
代码示例来源:origin: org.apache.hbase/hbase-client
setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax());
super.setPriority(get.getPriority());
代码示例来源:origin: org.apache.hbase/hbase-client
setPriority(get.getPriority());
super.setReplicaId(get.getReplicaId());
代码示例来源:origin: org.apache.hbase/hbase-client
final Get configuredGet = get;
ClientServiceCallable<Result> callable = new ClientServiceCallable<Result>(this.connection, getName(),
get.getRow(), this.rpcControllerFactory.newController(), get.getPriority()) {
@Override
protected Result rpcCall() throws Exception {
代码示例来源:origin: org.apache.hbase/hbase-client
assertEquals(get.getACL(), scan.getACL());
assertEquals(get.getAuthorizations().getLabels(), scan.getAuthorizations().getLabels());
assertEquals(get.getPriority(), scan.getPriority());
代码示例来源:origin: com.aliyun.hbase/alihbase-client
setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax());
super.setPriority(get.getPriority());
代码示例来源:origin: com.aliyun.hbase/alihbase-client
/**
* Builds a scan object with the same specs as get.
* @param get get to model scan after
*/
public Scan(Get get) {
this.startRow = get.getRow();
this.includeStartRow = true;
this.stopRow = get.getRow();
this.includeStopRow = true;
this.filter = get.getFilter();
this.cacheBlocks = get.getCacheBlocks();
this.maxVersions = get.getMaxVersions();
this.storeLimit = get.getMaxResultsPerColumnFamily();
this.storeOffset = get.getRowOffsetPerColumnFamily();
this.tr = get.getTimeRange();
this.familyMap = get.getFamilyMap();
this.asyncPrefetch = false;
this.consistency = get.getConsistency();
this.setIsolationLevel(get.getIsolationLevel());
this.loadColumnFamiliesOnDemand = get.getLoadColumnFamiliesOnDemandValue();
for (Map.Entry<String, byte[]> attr : get.getAttributesMap().entrySet()) {
setAttribute(attr.getKey(), attr.getValue());
}
for (Map.Entry<byte[], TimeRange> entry : get.getColumnFamilyTimeRange().entrySet()) {
TimeRange tr = entry.getValue();
setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax());
}
this.mvccReadPoint = -1L;
setPriority(get.getPriority());
}
代码示例来源:origin: com.aliyun.hbase/alihbase-client
final Get configuredGet = get;
ClientServiceCallable<Result> callable = new ClientServiceCallable<Result>(this.connection, getName(),
get.getRow(), this.rpcControllerFactory.newController(), get.getPriority()) {
@Override
protected Result rpcCall() throws Exception {
内容来源于网络,如有侵权,请联系作者删除!