| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache. |
| org.apache.hadoop.hbase.regionserver | |
| org.apache.hadoop.hbase.util |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HFileReaderImpl
Implementation that can handle all hfile versions of
HFile.Reader. |
| 限定符和类型 | 字段和说明 |
|---|---|
protected HFile.Reader |
HFileReaderImpl.HFileScannerImpl.reader |
| 限定符和类型 | 方法和说明 |
|---|---|
static HFile.Reader |
HFile.createReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
CacheConfig cacheConf,
boolean primaryReplicaReader,
org.apache.hadoop.conf.Configuration conf) |
static HFile.Reader |
HFile.createReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Creates reader with cache configuration disabled
|
static HFile.Reader |
HFile.createReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
FSDataInputStreamWrapper fsdis,
long size,
CacheConfig cacheConf,
boolean primaryReplicaReader,
org.apache.hadoop.conf.Configuration conf)
The sockets and the file descriptors held by the method parameter
FSDataInputStreamWrapper passed will be freed after its usage so caller needs to ensure
that no other threads have access to the same passed reference. |
HFile.Reader |
HFileScanner.getReader() |
HFile.Reader |
HFileReaderImpl.HFileScannerImpl.getReader() |
| 构造器和说明 |
|---|
CompoundBloomFilter(DataInput meta,
HFile.Reader reader)
De-serialization for compound Bloom filter metadata.
|
EncodedScanner(HFile.Reader reader,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
HFileContext meta) |
HFileScannerImpl(HFile.Reader reader,
boolean cacheBlocks,
boolean pread,
boolean isCompaction) |
| 限定符和类型 | 方法和说明 |
|---|---|
HFile.Reader |
StoreFileReader.getHFileReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
static BloomFilter |
BloomFilterFactory.createFromMeta(DataInput meta,
HFile.Reader reader)
Instantiates the correct Bloom filter class based on the version provided
in the meta block data.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.