Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.util |
Modifier and Type | Class and Description |
---|---|
class |
HFileReaderImpl
Implementation that can handle all hfile versions of
HFile.Reader . |
Modifier and Type | Field and Description |
---|---|
protected HFile.Reader |
HFileReaderImpl.HFileScannerImpl.reader |
private HFile.Reader |
CompoundBloomFilter.reader
Used to load chunks on demand
|
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,
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. |
(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 |
HFileReaderImpl.HFileScannerImpl.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,
boolean primaryReplicaReader,
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 |
---|
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) |
Modifier and Type | Field and Description |
---|---|
private HFile.Reader |
HFileInputFormat.HFileRecordReader.in |
Modifier and Type | Field and Description |
---|---|
private HFile.Reader |
StoreFileReader.reader |
Modifier and Type | Method and Description |
---|---|
HFile.Reader |
StoreFileReader.getHFileReader() |
Constructor and Description |
---|
StoreFileReader(HFile.Reader reader,
AtomicInteger refCount,
boolean shared) |
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.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.