Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.codec.prefixtree | |
org.apache.hadoop.hbase.io.encoding | |
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 |
---|---|
static class |
KeyValue.MetaComparator
|
static class |
KeyValue.RawBytesComparator
This is a TEST only Comparator used in TestSeekTo and TestReseekTo.
|
Modifier and Type | Field and Description |
---|---|
static KeyValue.KVComparator |
KeyValue.COMPARATOR
Comparator for plain key/values; i.e.
|
static KeyValue.KVComparator |
KeyValue.META_COMPARATOR
|
static KeyValue.KVComparator |
KeyValue.RAW_COMPARATOR
Needed for Bloom Filters.
|
Modifier and Type | Method and Description |
---|---|
KeyValue.KVComparator |
HRegionInfo.getComparator() |
KeyValue.KVComparator |
TableName.getRowComparator()
Deprecated.
The comparator is an internal property of the table. Should
not have been exposed here
|
Modifier and Type | Method and Description |
---|---|
static Cell |
CellComparator.getMidpoint(KeyValue.KVComparator comparator,
Cell left,
Cell right)
Try to return a Cell that falls between
left and right but that is
shorter; i.e. |
Constructor and Description |
---|
KeyValue.RowOnlyComparator(KeyValue.KVComparator c) |
Modifier and Type | Method and Description |
---|---|
int |
PrefixTreeSeeker.compareKey(KeyValue.KVComparator comparator,
byte[] key,
int offset,
int length) |
int |
PrefixTreeSeeker.compareKey(KeyValue.KVComparator comparator,
Cell key) |
DataBlockEncoder.EncodedSeeker |
PrefixTreeCodec.createSeeker(KeyValue.KVComparator comparator,
HFileBlockDecodingContext decodingCtx)
Is this the correct handling of an illegal comparator? How to prevent that from getting all
the way to this point.
|
Modifier and Type | Method and Description |
---|---|
int |
DataBlockEncoder.EncodedSeeker.compareKey(KeyValue.KVComparator comparator,
byte[] key,
int offset,
int length)
Compare the given key against the current key
|
int |
DataBlockEncoder.EncodedSeeker.compareKey(KeyValue.KVComparator comparator,
Cell key) |
DataBlockEncoder.EncodedSeeker |
PrefixKeyDeltaEncoder.createSeeker(KeyValue.KVComparator comparator,
HFileBlockDecodingContext decodingCtx) |
DataBlockEncoder.EncodedSeeker |
FastDiffDeltaEncoder.createSeeker(KeyValue.KVComparator comparator,
HFileBlockDecodingContext decodingCtx) |
DataBlockEncoder.EncodedSeeker |
DiffKeyDeltaEncoder.createSeeker(KeyValue.KVComparator comparator,
HFileBlockDecodingContext decodingCtx) |
DataBlockEncoder.EncodedSeeker |
DataBlockEncoder.createSeeker(KeyValue.KVComparator comparator,
HFileBlockDecodingContext decodingCtx)
Create a HFileBlock seeker which find KeyValues within a block.
|
DataBlockEncoder.EncodedSeeker |
CopyKeyDataBlockEncoder.createSeeker(KeyValue.KVComparator comparator,
HFileBlockDecodingContext decodingCtx) |
Modifier and Type | Field and Description |
---|---|
protected KeyValue.KVComparator |
HFile.WriterFactory.comparator |
protected KeyValue.KVComparator |
AbstractHFileWriter.comparator
Key comparator.
|
protected KeyValue.KVComparator |
AbstractHFileReader.comparator
Key comparator
|
Modifier and Type | Method and Description |
---|---|
static KeyValue.KVComparator |
FixedFileTrailer.createComparator(String comparatorClassName) |
KeyValue.KVComparator |
HFile.Reader.getComparator() |
KeyValue.KVComparator |
AbstractHFileReader.getComparator() |
Modifier and Type | Method and Description |
---|---|
abstract int |
HFileReaderV2.AbstractScannerV2.compareKey(KeyValue.KVComparator comparator,
byte[] key,
int offset,
int length)
Compare the given key against the current key
|
int |
HFileReaderV2.ScannerV2.compareKey(KeyValue.KVComparator comparator,
byte[] key,
int offset,
int length) |
int |
HFileReaderV2.EncodedScannerV2.compareKey(KeyValue.KVComparator comparator,
byte[] key,
int offset,
int length) |
abstract int |
HFileReaderV2.AbstractScannerV2.compareKey(KeyValue.KVComparator comparator,
Cell kv) |
int |
HFileReaderV2.ScannerV2.compareKey(KeyValue.KVComparator comparator,
Cell key) |
int |
HFileReaderV2.EncodedScannerV2.compareKey(KeyValue.KVComparator comparator,
Cell key) |
protected abstract HFile.Writer |
HFile.WriterFactory.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
KeyValue.KVComparator comparator,
HFileContext fileContext) |
HFile.WriterFactory |
HFile.WriterFactory.withComparator(KeyValue.KVComparator comparator) |
Modifier and Type | Method and Description |
---|---|
void |
FixedFileTrailer.setComparatorClass(Class<? extends KeyValue.KVComparator> klass) |
Constructor and Description |
---|
AbstractHFileWriter(CacheConfig cacheConf,
org.apache.hadoop.fs.FSDataOutputStream outputStream,
org.apache.hadoop.fs.Path path,
KeyValue.KVComparator comparator,
HFileContext fileContext) |
HFileBlockIndex.BlockIndexReader(KeyValue.KVComparator c,
int treeLevel) |
HFileBlockIndex.BlockIndexReader(KeyValue.KVComparator c,
int treeLevel,
HFile.CachingBlockReader cachingBlockReader) |
HFileWriterV2(org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
KeyValue.KVComparator comparator,
HFileContext context)
Constructor that takes a path, creates and closes the output stream.
|
HFileWriterV3(org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
KeyValue.KVComparator comparator,
HFileContext fileContext)
Constructor that takes a path, creates and closes the output stream.
|
Modifier and Type | Field and Description |
---|---|
protected KeyValue.KVComparator |
StripeMultiFileWriter.comparator |
protected KeyValue.KVComparator |
KeyValueHeap.KVScannerComparator.kvComparator |
Modifier and Type | Method and Description |
---|---|
KeyValue.KVComparator |
StoreFile.getComparator() |
KeyValue.KVComparator |
StoreFile.Reader.getComparator() |
KeyValue.KVComparator |
Store.getComparator() |
KeyValue.KVComparator |
ScanInfo.getComparator() |
KeyValue.KVComparator |
KeyValueHeap.KVScannerComparator.getComparator() |
KeyValue.KVComparator |
HStore.getComparator() |
KeyValue.KVComparator |
HRegion.getComparator() |
Modifier and Type | Method and Description |
---|---|
protected void |
StoreScanner.checkScanOrder(Cell prevKV,
Cell kv,
KeyValue.KVComparator comparator)
Check whether scan as expected order
|
static StoreEngine<?,?,?,?> |
StoreEngine.create(Store store,
org.apache.hadoop.conf.Configuration conf,
KeyValue.KVComparator kvComparator)
Create the StoreEngine configured for the given Store.
|
protected void |
StripeStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
Store store,
KeyValue.KVComparator comparator) |
protected abstract void |
StoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
Store store,
KeyValue.KVComparator kvComparator)
Create the StoreEngine's components.
|
protected void |
DefaultStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
Store store,
KeyValue.KVComparator kvComparator) |
void |
StripeMultiFileWriter.init(StoreScanner sourceScanner,
StripeMultiFileWriter.WriterFactory factory,
KeyValue.KVComparator comparator)
Initializes multi-writer before usage.
|
protected void |
StoreScanner.resetKVHeap(List<? extends KeyValueScanner> scanners,
KeyValue.KVComparator comparator) |
StoreFile.WriterBuilder |
StoreFile.WriterBuilder.withComparator(KeyValue.KVComparator comparator) |
Constructor and Description |
---|
DefaultMemStore(org.apache.hadoop.conf.Configuration conf,
KeyValue.KVComparator c)
Constructor.
|
KeyValueHeap.KVScannerComparator(KeyValue.KVComparator kvComparator)
Constructor
|
KeyValueHeap(List<? extends KeyValueScanner> scanners,
KeyValue.KVComparator comparator)
Constructor.
|
ReversedKeyValueHeap(List<? extends KeyValueScanner> scanners,
KeyValue.KVComparator comparator) |
ScanInfo(byte[] family,
int minVersions,
int maxVersions,
long ttl,
KeepDeletedCells keepDeletedCells,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
ScanInfo(HColumnDescriptor family,
long ttl,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
StripeStoreFileManager(KeyValue.KVComparator kvComparator,
org.apache.hadoop.conf.Configuration conf,
StripeStoreConfig config) |
Modifier and Type | Field and Description |
---|---|
protected KeyValue.KVComparator |
CompoundBloomFilterBase.comparator
Comparator used to compare Bloom filter keys
|
Modifier and Type | Method and Description |
---|---|
KeyValue.KVComparator |
CompoundBloomFilterBase.getComparator() |
KeyValue.KVComparator |
CompoundBloomFilter.getComparator() |
KeyValue.KVComparator |
ByteBloomFilter.getComparator() |
KeyValue.KVComparator |
BloomFilterBase.getComparator() |
Constructor and Description |
---|
CollectionBackedScanner(KeyValue.KVComparator comparator,
Cell... array) |
CollectionBackedScanner(List<Cell> list,
KeyValue.KVComparator comparator) |
CollectionBackedScanner(SortedSet<Cell> set,
KeyValue.KVComparator comparator) |
CompoundBloomFilterWriter(int chunkByteSizeHint,
float errorRate,
int hashType,
int maxFold,
boolean cacheOnWrite,
KeyValue.KVComparator comparator) |
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.