Interface | Description |
---|---|
RandomDistribution.DiscreteRNG |
Interface for discrete (integer) random distributions.
|
Class | Description |
---|---|
CacheTestUtils | |
CacheTestUtils.ByteArrayCacheable | |
CacheTestUtils.HFileBlockPair | |
KeySampler | |
KVGenerator |
Generate random <key, value> pairs.
|
NanoTimer |
A nano-second timer.
|
RandomDistribution |
A class that generates random numbers that follow some distribution.
|
RandomDistribution.Binomial |
Binomial distribution.
|
RandomDistribution.Flat |
P(i)=1/(max-min)
|
RandomDistribution.Zipf |
Zipf distribution.
|
RandomKeyValueUtil |
These helper methods generate random byte[]'s data for KeyValues
|
TestBlockCacheReporting | |
TestBlockIOUtils | |
TestCacheConfig |
Tests that
CacheConfig does as expected. |
TestCacheConfig.DataCacheEntry | |
TestCacheConfig.Deserializer | |
TestCacheConfig.IndexCacheEntry | |
TestCacheConfig.MetaCacheEntry | |
TestCachedBlockQueue | |
TestCachedBlockQueue.CachedBlock | |
TestCacheOnWrite |
Tests
HFile cache-on-write functionality for the following block
types: data blocks, non-root index blocks, and Bloom filter blocks. |
TestChecksum | |
TestChecksum.CorruptedFSReaderImpl |
This class is to test checksum behavior when data is corrupted.
|
TestCombinedBlockCache | |
TestFixedFileTrailer | |
TestForceCacheImportantBlocks |
Make sure we always cache important block types, such as index blocks, as
long as we have a block cache, even though block caching might be disabled
for the column family.
|
TestHFile |
test hfile features.
|
TestHFileBlock | |
TestHFileBlockIndex | |
TestHFileBlockIndex.BlockReaderWrapper |
A wrapper around a block reader which only caches the results of the last
operation.
|
TestHFileDataBlockEncoder | |
TestHFileEncryption | |
TestHFileInlineToRootChunkConversion |
Test a case when an inline index chunk is converted to a root one.
|
TestHFilePrettyPrinter | |
TestHFileReaderImpl |
Test
|
TestHFileScannerImplReferenceCount | |
TestHFileSeek |
test the performance for seek.
|
TestHFileSeek.IntegerRange | |
TestHFileSeek.MyOptions | |
TestHFileWriterV3 |
Testing writing a version 3
HFile . |
TestHFileWriterV3WithDataEncoders |
Testing writing a version 3
HFile for all encoded blocks |
TestLazyDataBlockDecompression |
A kind of integration test at the intersection of
HFileBlock , CacheConfig ,
and LruBlockCache . |
TestLruBlockCache |
Tests the concurrent LruBlockCache.
|
TestLruBlockCache.CachedItem | |
TestLruCachedBlock | |
TestPrefetch | |
TestReseekTo |
Test
HFileScanner.reseekTo(org.apache.hadoop.hbase.Cell) |
TestRowIndexV1DataEncoder | |
TestScannerFromBucketCache | |
TestScannerSelectionUsingKeyRange |
Test the optimization that does not scan files where all key ranges are excluded.
|
TestScannerSelectionUsingTTL |
Test the optimization that does not scan files where all timestamps are
expired.
|
TestSeekBeforeWithInlineBlocks | |
TestSeekTo |
Test
HFileScanner.seekTo(Cell) and its variants. |
TestTinyLfuBlockCache |
Tests the concurrent TinyLfuBlockCache.
|
TestTinyLfuBlockCache.CachedItem |
Enum | Description |
---|---|
TagUsage |
Used in testcases only.
|
TestCacheOnWrite.CacheOnWriteType |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.