org.apache.hadoop.hbase.client.Query.setReplicaId()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(209)

本文整理了Java中org.apache.hadoop.hbase.client.Query.setReplicaId方法的一些代码示例,展示了Query.setReplicaId的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setReplicaId方法的具体详情如下:
包路径:org.apache.hadoop.hbase.client.Query
类名称:Query
方法名:setReplicaId

Query.setReplicaId介绍

[英]Specify region replica id where Query will fetch data from. Use this together with #setConsistency(Consistency) passing Consistency#TIMELINE to read data from a specific replicaId.
Expert: This is an advanced API exposed. Only use it if you know what you are doing
[中]指定查询将从中提取数据的区域副本id。将其与#setConsistency(Consistency)passing Consistency#TIMELINE一起使用,从特定的replicaId读取数据。
专家:这是一个高级API。只有当你知道自己在做什么时才使用它

代码示例

代码示例来源:origin: apache/hbase

@Override
public Get setReplicaId(int Id) {
 return (Get) super.setReplicaId(Id);
}

代码示例来源:origin: apache/hbase

@Override
public Scan setReplicaId(int Id) {
 return (Scan) super.setReplicaId(Id);
}

代码示例来源:origin: apache/hbase

super.setReplicaId(get.getReplicaId());

代码示例来源:origin: org.apache.hbase/hbase-client

@Override
public Get setReplicaId(int Id) {
 return (Get) super.setReplicaId(Id);
}

代码示例来源:origin: org.apache.hbase/hbase-client

@Override
public Scan setReplicaId(int Id) {
 return (Scan) super.setReplicaId(Id);
}

代码示例来源:origin: apache/hbase

setPriority(scan.getPriority());
readType = scan.getReadType();
super.setReplicaId(scan.getReplicaId());

代码示例来源:origin: org.apache.hbase/hbase-client

super.setReplicaId(get.getReplicaId());

代码示例来源:origin: com.aliyun.hbase/alihbase-client

@Override
public Scan setReplicaId(int Id) {
 return (Scan) super.setReplicaId(Id);
}

代码示例来源:origin: com.aliyun.hbase/alihbase-client

@Override
public Get setReplicaId(int Id) {
 return (Get) super.setReplicaId(Id);
}

代码示例来源:origin: harbby/presto-connectors

@Override
public Scan setReplicaId(int Id) {
 return (Scan) super.setReplicaId(Id);
}

代码示例来源:origin: harbby/presto-connectors

@Override
public Get setReplicaId(int Id) {
 return (Get) super.setReplicaId(Id);
}

代码示例来源:origin: org.apache.hbase/hbase-client

setPriority(scan.getPriority());
readType = scan.getReadType();
super.setReplicaId(scan.getReplicaId());

相关文章