Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
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 |
---|---|
(package private) KeyValue.KVComparator |
KeyValue.RowOnlyComparator.comparator |
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 |
---|---|
private KeyValue.KVComparator |
MetaCache.getRowComparator(TableName tableName) |
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)
Deprecated.
Is this the correct handling of an illegal comparator? How to prevent that from getting all
the way to this point.
|
Modifier and Type | Field and Description |
---|---|
protected KeyValue.KVComparator |
BufferedDataBlockEncoder.BufferedEncodedSeeker.comparator |
Modifier and Type | Method and Description |
---|---|
int |
BufferedDataBlockEncoder.BufferedEncodedSeeker.compareKey(KeyValue.KVComparator comparator,
byte[] key,
int offset,
int length) |
int |
DataBlockEncoder.EncodedSeeker.compareKey(KeyValue.KVComparator comparator,
byte[] key,
int offset,
int length)
Compare the given key against the current key
|
int |
BufferedDataBlockEncoder.BufferedEncodedSeeker.compareKey(KeyValue.KVComparator comparator,
Cell 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 |
CopyKeyDataBlockEncoder.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.
|
Constructor and Description |
---|
BufferedDataBlockEncoder.BufferedEncodedSeeker(KeyValue.KVComparator comparator,
HFileBlockDecodingContext decodingCtx) |
Modifier and Type | Field and Description |
---|---|
protected KeyValue.KVComparator |
AbstractHFileReader.comparator
Key comparator
|
protected KeyValue.KVComparator |
AbstractHFileWriter.comparator
Key comparator.
|
private KeyValue.KVComparator |
HFileBlockIndex.BlockIndexReader.comparator
Needed doing lookup on blocks.
|
protected KeyValue.KVComparator |
HFile.WriterFactory.comparator |
Modifier and Type | Method and Description |
---|---|
(package private) KeyValue.KVComparator |
FixedFileTrailer.createComparator() |
static KeyValue.KVComparator |
FixedFileTrailer.createComparator(String comparatorClassName) |
KeyValue.KVComparator |
AbstractHFileReader.getComparator() |
KeyValue.KVComparator |
HFile.Reader.getComparator() |
Modifier and Type | Method and Description |
---|---|
private static Class<? extends KeyValue.KVComparator> |
FixedFileTrailer.getComparatorClass(String comparatorClassName) |
Modifier and Type | Method and Description |
---|---|
(package private) static int |
HFileBlockIndex.BlockIndexReader.binarySearchNonRootIndex(Cell key,
ByteBuffer nonRootIndex,
KeyValue.KVComparator comparator)
Performs a binary search over a non-root level index block.
|
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) |
HFile.Writer |
HFileWriterV2.WriterFactoryV2.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
KeyValue.KVComparator comparator,
HFileContext context) |
HFile.Writer |
HFileWriterV3.WriterFactoryV3.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
KeyValue.KVComparator comparator,
HFileContext fileContext) |
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) |
(package private) static int |
HFileBlockIndex.BlockIndexReader.locateNonRootIndexEntry(ByteBuffer nonRootBlock,
Cell key,
KeyValue.KVComparator comparator)
Search for one key using the secondary index in a non-root block.
|
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 |
---|---|
(package private) KeyValue.KVComparator |
DefaultMemStore.comparator |
private KeyValue.KVComparator |
HStore.comparator |
private KeyValue.KVComparator |
ScanInfo.comparator |
private KeyValue.KVComparator |
StoreFile.comparator |
private KeyValue.KVComparator |
StoreFile.WriterBuilder.comparator |
protected KeyValue.KVComparator |
StripeMultiFileWriter.comparator |
private KeyValue.KVComparator |
HRegion.comparator |
private KeyValue.KVComparator |
GetClosestRowBeforeTracker.kvcomparator |
private KeyValue.KVComparator |
DefaultStoreFileManager.kvComparator |
private KeyValue.KVComparator |
StripeStoreFileManager.kvComparator |
protected KeyValue.KVComparator |
KeyValueHeap.KVScannerComparator.kvComparator |
private KeyValue.KVComparator |
StoreFile.Writer.kvComparator |
private KeyValue.KVComparator |
ScanQueryMatcher.rowComparator
Row comparator for the region this query is for
|
Modifier and Type | Method and Description |
---|---|
KeyValue.KVComparator |
Store.getComparator() |
KeyValue.KVComparator |
HStore.getComparator() |
KeyValue.KVComparator |
KeyValueHeap.KVScannerComparator.getComparator() |
KeyValue.KVComparator |
ScanInfo.getComparator() |
KeyValue.KVComparator |
StoreFile.getComparator() |
KeyValue.KVComparator |
StoreFile.Reader.getComparator() |
(package private) KeyValue.KVComparator |
StoreFileScanner.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
|
protected void |
ReversedStoreScanner.checkScanOrder(Cell prevKV,
Cell kv,
KeyValue.KVComparator comparator) |
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) |
private void |
StoreEngine.createComponentsOnce(org.apache.hadoop.conf.Configuration conf,
Store store,
KeyValue.KVComparator kvComparator) |
(package private) byte[] |
StoreFile.getFileSplitPoint(KeyValue.KVComparator comparator)
Gets the approximate mid-point of this file that is optimal for use in splitting it.
|
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) |
protected void |
ReversedStoreScanner.resetKVHeap(List<? extends KeyValueScanner> scanners,
KeyValue.KVComparator comparator) |
StoreFile.WriterBuilder |
StoreFile.WriterBuilder.withComparator(KeyValue.KVComparator comparator) |
Constructor and Description |
---|
CellSkipListSet(KeyValue.KVComparator c) |
DefaultMemStore(org.apache.hadoop.conf.Configuration conf,
KeyValue.KVComparator c)
Constructor.
|
DefaultStoreFileManager(KeyValue.KVComparator kvComparator,
org.apache.hadoop.conf.Configuration conf,
CompactionConfiguration comConf) |
GetClosestRowBeforeTracker(KeyValue.KVComparator c,
KeyValue kv,
long ttl,
boolean metaregion) |
KeyValueHeap.KVScannerComparator(KeyValue.KVComparator kvComparator)
Constructor
|
KeyValueHeap(List<? extends KeyValueScanner> scanners,
KeyValue.KVComparator comparator)
Constructor.
|
ReversedKeyValueHeap.ReversedKVScannerComparator(KeyValue.KVComparator kvComparator)
Constructor
|
ReversedKeyValueHeap(List<? extends KeyValueScanner> scanners,
KeyValue.KVComparator comparator) |
ScanInfo(org.apache.hadoop.conf.Configuration conf,
byte[] family,
int minVersions,
int maxVersions,
long ttl,
KeepDeletedCells keepDeletedCells,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
ScanInfo(org.apache.hadoop.conf.Configuration conf,
HColumnDescriptor family,
long ttl,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
StoreFile.Writer(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
KeyValue.KVComparator comparator,
BloomType bloomType,
long maxKeys,
InetSocketAddress[] favoredNodes,
HFileContext fileContext,
boolean shouldDropCacheBehind)
Creates an HFile.Writer that also write helpful meta data.
|
StripeStoreFileManager(KeyValue.KVComparator kvComparator,
org.apache.hadoop.conf.Configuration conf,
StripeStoreConfig config) |
Modifier and Type | Field and Description |
---|---|
(package private) KeyValue.KVComparator |
CollectionBackedScanner.comparator |
protected KeyValue.KVComparator |
CompoundBloomFilterBase.comparator
Comparator used to compare Bloom filter keys
|
Modifier and Type | Method and Description |
---|---|
KeyValue.KVComparator |
BloomFilterBase.getComparator() |
KeyValue.KVComparator |
CompoundBloomFilter.getComparator() |
KeyValue.KVComparator |
ByteBloomFilter.getComparator() |
KeyValue.KVComparator |
CompoundBloomFilterBase.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–2019 The Apache Software Foundation. All rights reserved.