本文整理了Java中org.apache.hadoop.hbase.client.Query.setColumnFamilyTimeRange
方法的一些代码示例,展示了Query.setColumnFamilyTimeRange
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setColumnFamilyTimeRange
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.client.Query
类名称:Query
方法名:setColumnFamilyTimeRange
[英]Get versions of columns only within the specified timestamp range, [minStamp, maxStamp) on a per CF bases. Note, default maximum versions to return is 1. If your time range spans more than one version and you want all versions returned, up the number of versions beyond the default. Column Family time ranges take precedence over the global time range.
[中]仅在指定的时间戳范围内获取列的版本,[minStamp,maxStamp]以每CF为基础。注意,返回的默认最大版本数为1。如果您的时间范围跨越多个版本,并且希望返回所有版本,请增加超出默认值的版本数。列族时间范围优先于全局时间范围。
代码示例来源:origin: apache/hbase
@Override public Scan setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Scan) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
代码示例来源:origin: apache/hbase
@Override public Get setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Get) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
代码示例来源:origin: org.apache.hbase/hbase-client
@Override public Scan setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Scan) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
代码示例来源:origin: org.apache.hbase/hbase-client
@Override public Get setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Get) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
代码示例来源:origin: org.apache.hadoop/hadoop-yarn-server-timelineservice-hbase-client
public static void setMetricsTimeRange(Query query, byte[] metricsCf,
long tsBegin, long tsEnd) {
if (tsBegin != 0 || tsEnd != Long.MAX_VALUE) {
query.setColumnFamilyTimeRange(metricsCf,
tsBegin, ((tsEnd == Long.MAX_VALUE) ? Long.MAX_VALUE : (tsEnd + 1)));
}
}
}
代码示例来源:origin: com.aliyun.hbase/alihbase-client
@Override public Scan setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Scan) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
代码示例来源:origin: com.aliyun.hbase/alihbase-client
@Override public Get setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Get) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
代码示例来源:origin: harbby/presto-connectors
@Override public Scan setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Scan) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
代码示例来源:origin: harbby/presto-connectors
@Override public Get setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) {
return (Get) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp);
}
内容来源于网络,如有侵权,请联系作者删除!