Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.util |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHFileReader
Common functionality needed by all versions of
HFile readers. |
class |
HFileReaderV2
HFile reader for version 2. |
class |
HFileReaderV3
HFile reader for version 3. |
Modifier and Type | Field and Description |
---|---|
protected HFile.Reader |
AbstractHFileReader.Scanner.reader |
Modifier and Type | Method and Description |
---|---|
static HFile.Reader |
HFile.createReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
CacheConfig cacheConf,
org.apache.hadoop.conf.Configuration conf) |
static HFile.Reader |
HFile.createReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
FSDataInputStreamWrapper fsdis,
long size,
CacheConfig cacheConf,
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. |
(package private) static HFile.Reader |
HFile.createReaderFromStream(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataInputStream fsdis,
long size,
CacheConfig cacheConf,
org.apache.hadoop.conf.Configuration conf)
This factory method is used only by unit tests.
|
HFile.Reader |
AbstractHFileReader.Scanner.getReader() |
HFile.Reader |
HFileScanner.getReader() |
private static HFile.Reader |
HFile.openReader(org.apache.hadoop.fs.Path path,
FSDataInputStreamWrapper fsdis,
long size,
CacheConfig cacheConf,
HFileSystem hfs,
org.apache.hadoop.conf.Configuration conf)
Method returns the reader given the specified arguments.
|
Modifier and Type | Method and Description |
---|---|
private void |
HFilePrettyPrinter.printMeta(HFile.Reader reader,
Map<byte[],byte[]> fileInfo) |
Constructor and Description |
---|
AbstractHFileReader.Scanner(HFile.Reader reader,
boolean cacheBlocks,
boolean pread,
boolean isCompaction) |
Modifier and Type | Field and Description |
---|---|
private HFile.Reader |
StoreFile.Reader.reader |
Modifier and Type | Method and Description |
---|---|
HFile.Reader |
StoreFile.Reader.getHFileReader() |
Modifier and Type | Field and Description |
---|---|
private HFile.Reader |
CompoundBloomFilter.reader
Used to load chunks on demand
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
CompoundBloomFilter(DataInput meta,
HFile.Reader reader)
De-serialization for compound Bloom filter metadata.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.