org.apache.hadoop.hbase.regionserver.Store.getScanners()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(174)

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

Store.getScanners介绍

[英]Get all scanners with no filtering based on TTL (that happens further down the line).
[中]获取所有基于TTL的没有过滤的扫描仪(这种情况会发生在后面)。

代码示例

代码示例来源:origin: co.cask.hbase/hbase

/**
 * Get a filtered list of scanners. Assumes we are not in a compaction.
 * @return list of scanners to seek
 */
private List<KeyValueScanner> getScannersNoCompaction() throws IOException {
 final boolean isCompaction = false;
 return selectScannersFrom(store.getScanners(cacheBlocks, isGet,
   isCompaction, matcher));
}

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

/**
 * Get a filtered list of scanners. Assumes we are not in a compaction.
 * @return list of scanners to seek
 */
protected List<KeyValueScanner> getScannersNoCompaction() throws IOException {
 final boolean isCompaction = false;
 boolean usePread = get || scanUsePread;
 return selectScannersFrom(store.getScanners(cacheBlocks, get, usePread,
   isCompaction, matcher, scan.getStartRow(), scan.getStopRow(), this.readPt));
}

相关文章