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

x33g5p2x  于2022-01-19 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(223)

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

Get.setMaxResultsPerColumnFamily介绍

[英]Set the maximum number of values to return per row per Column Family
[中]设置每列族每行返回的最大值数

代码示例

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

get.setMaxResultsPerColumnFamily(2);
result = ht.get(get);
kvListExp = new ArrayList<>();
get.setMaxResultsPerColumnFamily(5);
get.setFilter(new ColumnRangeFilter(QUALIFIERS[2], true, QUALIFIERS[5],
                  true));
get.setMaxResultsPerColumnFamily(12);
get.addFamily(FAMILIES[1]);
get.addFamily(FAMILIES[2]);
get.setMaxResultsPerColumnFamily(3);
get.setFilter(new ColumnRangeFilter(QUALIFIERS[2], true, null, true));
result = ht.get(get);
get.setMaxResultsPerColumnFamily(7);
get.setFilter(new ColumnPrefixFilter(QUALIFIERS[1]));
result = ht.get(get);

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

get.setMaxResultsPerColumnFamily(5);
result = ht.get(get);
kvListExp = new ArrayList<>();
get.setMaxResultsPerColumnFamily(2);
get.addFamily(FAMILIES[1]);
get.addFamily(FAMILIES[2]);

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

get.setMaxResultsPerColumnFamily(proto.getStoreLimit());

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

.setIsolationLevel(IsolationLevel.READ_COMMITTED)
.setLoadColumnFamiliesOnDemand(false)
.setMaxResultsPerColumnFamily(1000)
.setMaxVersions(9999)
.setRowOffsetPerColumnFamily(5)

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

out.setMaxResultsPerColumnFamily(in.getStoreLimit());

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

get.setTimeRange(3, 4);
get.setMaxVersions(11);
get.setMaxResultsPerColumnFamily(10);
get.setRowOffsetPerColumnFamily(11);
get.setCacheBlocks(true);

代码示例来源:origin: larsgeorge/hbase-book

get1.setMaxResultsPerColumnFamily(10); // co GetMaxResultsRowOffsetExample1-1-Get1 Ask for ten cells to be returned at most.
Result result1 = table.get(get1);
CellScanner scanner1 = result1.cellScanner();
get2.setMaxResultsPerColumnFamily(10);
get2.setRowOffsetPerColumnFamily(100); // co GetMaxResultsRowOffsetExample1-2-Get2 In addition, also skip the first 100 cells.
Result result2 = table.get(get2);

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

get.setMaxResultsPerColumnFamily(proto.getStoreLimit());

代码示例来源:origin: larsgeorge/hbase-book

get1.setMaxResultsPerColumnFamily(10); // co GetMaxResultsRowOffsetExample2-3-Get1 Get ten cells, single version per column.
Result result1 = table.get(get1);
CellScanner scanner1 = result1.cellScanner();
get2.setMaxResultsPerColumnFamily(10);
get2.setMaxVersions(3); // co GetMaxResultsRowOffsetExample2-4-Get2 Do the same but now retrieve all versions of a column.
Result result2 = table.get(get2);

代码示例来源:origin: cdapio/cdap

@Override
public GetBuilder setMaxResultsPerColumnFamily(int limit) {
 get.setMaxResultsPerColumnFamily(limit);
 return this;
}

代码示例来源:origin: co.cask.cdap/cdap-hbase-compat-base

@Override
public GetBuilder setMaxResultsPerColumnFamily(int limit) {
 get.setMaxResultsPerColumnFamily(limit);
 return this;
}

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

get.setMaxResultsPerColumnFamily(proto.getStoreLimit());

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

.setIsolationLevel(IsolationLevel.READ_COMMITTED)
.setLoadColumnFamiliesOnDemand(false)
.setMaxResultsPerColumnFamily(1000)
.setMaxVersions(9999)
.setRowOffsetPerColumnFamily(5)

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

get.setTimeRange(3, 4);
get.setMaxVersions(11);
get.setMaxResultsPerColumnFamily(10);
get.setRowOffsetPerColumnFamily(11);
get.setCacheBlocks(true);

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

get.setMaxResultsPerColumnFamily(proto.getStoreLimit());

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

get.setMaxResultsPerColumnFamily(2);
result = ht.get(get);
kvListExp = new ArrayList<>();
get.setMaxResultsPerColumnFamily(5);
get.setFilter(new ColumnRangeFilter(QUALIFIERS[2], true, QUALIFIERS[5],
                  true));
get.setMaxResultsPerColumnFamily(12);
get.addFamily(FAMILIES[1]);
get.addFamily(FAMILIES[2]);
get.setMaxResultsPerColumnFamily(3);
get.setFilter(new ColumnRangeFilter(QUALIFIERS[2], true, null, true));
result = ht.get(get);
get.setMaxResultsPerColumnFamily(7);
get.setFilter(new ColumnPrefixFilter(QUALIFIERS[1]));
result = ht.get(get);

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

get.setMaxResultsPerColumnFamily(5);
result = ht.get(get);
kvListExp = new ArrayList<>();
get.setMaxResultsPerColumnFamily(2);
get.addFamily(FAMILIES[1]);
get.addFamily(FAMILIES[2]);

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

get.setMaxResultsPerColumnFamily(proto.getStoreLimit());

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

get.setMaxResultsPerColumnFamily(proto.getStoreLimit());

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

get.setMaxResultsPerColumnFamily(proto.getStoreLimit());

相关文章