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

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

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

Store.createWriterInTmp介绍

暂无

代码示例

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

private StoreFile.Writer createWriterInTmp(int maxKeyCount)
throws IOException {
 return createWriterInTmp(maxKeyCount, this.family.getCompression(), false);
}

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

@Override
 public Writer createWriter() throws IOException {
  return store.createWriterInTmp(
    fd.maxKeyCount, compression, true, needMvcc, fd.maxTagsLength > 0,
    store.throttleCompaction(request.getSize()));
 }
};

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

@Override
 public Writer createWriter() throws IOException {
  StoreFile.Writer writer = store.createWriterInTmp(
    kvCount, store.getFamily().getCompression(),
    /* isCompaction = */ false,
    /* includeMVCCReadpoint = */ true,
    /* includesTags = */ true,
    /* shouldDropBehind = */ false);
  writer.setTimeRangeTracker(tracker);
  return writer;
 }
};

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

status.setStatus("Flushing " + this + ": creating writer");
writer = createWriterInTmp(set.size());
writer.setTimeRangeTracker(snapshotTimeRangeTracker);
pathName = writer.getPath();

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

writer = store.createWriterInTmp(fd.maxKeyCount, this.compactionCompression, true,
 fd.maxMVCCReadpoint > 0, fd.maxTagsLength > 0, store.throttleCompaction(request.getSize()));

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

status.setStatus("Flushing " + store + ": creating writer");
writer = store.createWriterInTmp(cellsCount, store.getFamily().getCompression(),
  /* isCompaction = */ false,
  /* includeMVCCReadpoint = */ true,

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

hasMore = scanner.next(kvs, compactionKVMax);
if (writer == null && !kvs.isEmpty()) {
 writer = store.createWriterInTmp(maxKeyCount, compactionCompression, true);

相关文章