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

x33g5p2x  于2022-01-20 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(165)

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

HStore.isPrimaryReplicaStore介绍

暂无

代码示例

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

  1. private HStoreFile createStoreFileAndReader(StoreFileInfo info) throws IOException {
  2. info.setRegionCoprocessorHost(this.region.getCoprocessorHost());
  3. HStoreFile storeFile = new HStoreFile(this.getFileSystem(), info, this.conf, this.cacheConf,
  4. this.family.getBloomFilterType(), isPrimaryReplicaStore());
  5. storeFile.initReader();
  6. return storeFile;
  7. }

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

  1. if (this.isPrimaryReplicaStore()) {

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

  1. FileSystem srcFs = srcPath.getFileSystem(conf);
  2. srcFs.access(srcPath, FsAction.READ_WRITE);
  3. reader = HFile.createReader(srcFs, srcPath, cacheConf, isPrimaryReplicaStore(), conf);
  4. reader.loadFileInfo();

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

  1. cacheBlocks, usePread, isCompaction, false, matcher, readPt, isPrimaryReplicaStore());
  2. List<KeyValueScanner> scanners =
  3. new ArrayList<KeyValueScanner>(sfScanners.size()+1);

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

  1. private StoreFile createStoreFileAndReader(final StoreFileInfo info)
  2. throws IOException {
  3. info.setRegionCoprocessorHost(this.region.getCoprocessorHost());
  4. StoreFile storeFile = new StoreFile(this.getFileSystem(), info, this.conf, this.cacheConf,
  5. this.family.getBloomFilterType());
  6. StoreFile.Reader r = storeFile.createReader();
  7. r.setReplicaStoreFile(isPrimaryReplicaStore());
  8. return storeFile;
  9. }

相关文章

HStore类方法