Uses of Class
org.apache.hadoop.hbase.io.hfile.CacheConfig
Package
Description
Table of Contents
Provides implementations of
HFile
and HFile
BlockCache
.-
Uses of org.apache.hadoop.hbase.io.hfile.CacheConfig in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault org.apache.hadoop.hbase.regionserver.StoreFileReader
RegionObserver.postStoreFileReaderOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) Deprecated.For Phoenix only, StoreFileReader is not a stable interface.default org.apache.hadoop.hbase.regionserver.StoreFileReader
RegionObserver.preStoreFileReaderOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) Deprecated.For Phoenix only, StoreFileReader is not a stable interface. -
Uses of org.apache.hadoop.hbase.io.hfile.CacheConfig in org.apache.hadoop.hbase.io
ModifierConstructorDescriptionHalfStoreFileReader
(org.apache.hadoop.hbase.io.hfile.ReaderContext context, org.apache.hadoop.hbase.io.hfile.HFileInfo fileInfo, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileInfo storeFileInfo, org.apache.hadoop.conf.Configuration conf) Creates a half file reader for a hfile referred to by an hfilelink. -
Uses of org.apache.hadoop.hbase.io.hfile.CacheConfig in org.apache.hadoop.hbase.io.hfile
Modifier and TypeFieldDescriptionprotected final org.apache.hadoop.hbase.io.hfile.CacheConfig
HFile.WriterFactory.cacheConf
protected final org.apache.hadoop.hbase.io.hfile.CacheConfig
HFileReaderImpl.cacheConf
Block cache configuration.protected final org.apache.hadoop.hbase.io.hfile.CacheConfig
HFileWriterImpl.cacheConf
Cache configuration for caching data on write.static final org.apache.hadoop.hbase.io.hfile.CacheConfig
CacheConfig.DISABLED
Disabled cache configurationModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.CacheConfig
HFileReaderImpl.getCacheConf()
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.io.hfile.HFile.Reader
HFile.createReader
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, boolean primaryReplicaReader, org.apache.hadoop.conf.Configuration conf) static org.apache.hadoop.hbase.io.hfile.HFile.Reader
HFile.createReader
(org.apache.hadoop.hbase.io.hfile.ReaderContext context, org.apache.hadoop.hbase.io.hfile.HFileInfo fileInfo, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.conf.Configuration conf) Method returns the reader given the specified arguments.static org.apache.hadoop.hbase.io.hfile.HFileBlock
BlockCacheUtil.getBlockForCaching
(org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.hfile.HFileBlock block) Similarly to HFileBlock.Writer.getBlockForCaching(), creates a HFileBlock instance without checksum for caching.static final org.apache.hadoop.hbase.io.hfile.HFile.WriterFactory
HFile.getWriterFactory
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf) Returns the factory to be used to createHFile
writersModifierConstructorDescriptionBlockIndexWriter
(org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer blockWriter, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, String nameForCaching, org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder indexBlockEncoder) Creates a multi-level block index writer.CacheConfig
(org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf) Constructs a cache configuration copied from the specified configuration.HFilePreadReader
(org.apache.hadoop.hbase.io.hfile.ReaderContext context, org.apache.hadoop.hbase.io.hfile.HFileInfo fileInfo, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.conf.Configuration conf) HFileReaderImpl
(org.apache.hadoop.hbase.io.hfile.ReaderContext context, org.apache.hadoop.hbase.io.hfile.HFileInfo fileInfo, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.conf.Configuration conf) Opens a HFile.HFileStreamReader
(org.apache.hadoop.hbase.io.hfile.ReaderContext context, org.apache.hadoop.hbase.io.hfile.HFileInfo fileInfo, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.conf.Configuration conf) HFileWriterImpl
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream outputStream, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) -
Uses of org.apache.hadoop.hbase.io.hfile.CacheConfig in org.apache.hadoop.hbase.mob
Modifier and TypeMethodDescriptionstatic void
MobUtils.cleanExpiredMobFiles
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnDescriptor, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, long current) Cleans the expired mob files.static org.apache.hadoop.hbase.mob.CachedMobFile
CachedMobFile.create
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTracker sft) static org.apache.hadoop.hbase.mob.MobFile
MobFile.create
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTracker sft) Creates an instance of the MobFile.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, String date, org.apache.hadoop.fs.Path basePath, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, String startKey, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, boolean isCompaction, String regionName) Creates a writer for the mob file in temp directory.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.fs.Path path, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, org.apache.hadoop.hbase.util.ChecksumType checksumType, int bytesPerChecksum, int blocksize, org.apache.hadoop.hbase.regionserver.BloomType bloomType, boolean isCompaction) Creates a writer for the mob file in temp directory.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.fs.Path path, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, org.apache.hadoop.hbase.util.ChecksumType checksumType, int bytesPerChecksum, int blocksize, org.apache.hadoop.hbase.regionserver.BloomType bloomType, boolean isCompaction, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Creates a writer for the mob file in temp directory.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.hbase.mob.MobFileName mobFileName, org.apache.hadoop.fs.Path basePath, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, boolean isCompaction) Creates a writer for the mob file in temp directory.org.apache.hadoop.hbase.mob.MobFile
MobFileCache.openFile
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.regionserver.StoreContext storeContext) Opens a mob file. -
Uses of org.apache.hadoop.hbase.io.hfile.CacheConfig in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.io.hfile.CacheConfig
HStore.createCacheConf
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Creates the cache config.org.apache.hadoop.hbase.io.hfile.CacheConfig
HStoreFile.getCacheConf()
org.apache.hadoop.hbase.io.hfile.CacheConfig
StoreContext.getCacheConf()
org.apache.hadoop.hbase.io.hfile.CacheConfig
HStore.getCacheConfig()
Used for tests.Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.regionserver.StoreFileReader
StoreFileInfo.createReader
(org.apache.hadoop.hbase.io.hfile.ReaderContext context, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf) org.apache.hadoop.hbase.regionserver.StoreFileReader
RegionCoprocessorHost.postStoreFileReaderOpen
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) org.apache.hadoop.hbase.regionserver.StoreFileReader
RegionCoprocessorHost.preStoreFileReaderOpen
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r) org.apache.hadoop.hbase.regionserver.StoreContext.Builder
StoreContext.Builder.withCacheConfig
(org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf) ModifierConstructorDescriptionBuilder
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.fs.FileSystem fs) HStoreFile
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.regionserver.BloomType cfBloomType, boolean primaryReplica, org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTracker sft) Constructor, loads a reader and it's indices, etc.HStoreFile
(org.apache.hadoop.hbase.regionserver.StoreFileInfo fileInfo, org.apache.hadoop.hbase.regionserver.BloomType cfBloomType, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf) Constructor, loads a reader and it's indices, etc.HStoreFile
(org.apache.hadoop.hbase.regionserver.StoreFileInfo fileInfo, org.apache.hadoop.hbase.regionserver.BloomType cfBloomType, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.hfile.BloomFilterMetrics metrics) Constructor, loads a reader and it's indices, etc.StoreFileReader
(org.apache.hadoop.hbase.io.hfile.ReaderContext context, org.apache.hadoop.hbase.io.hfile.HFileInfo fileInfo, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.regionserver.StoreFileInfo storeFileInfo, org.apache.hadoop.conf.Configuration conf) -
Uses of org.apache.hadoop.hbase.io.hfile.CacheConfig in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.util.BloomFilterWriter
BloomFilterFactory.createDeleteBloomAtWrite
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, int maxKeys, org.apache.hadoop.hbase.io.hfile.HFile.Writer writer) Creates a new Delete Family Bloom filter at the time ofHStoreFile
writing.static org.apache.hadoop.hbase.util.BloomFilterWriter
BloomFilterFactory.createGeneralBloomAtWrite
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.regionserver.BloomType bloomType, int maxKeys, org.apache.hadoop.hbase.io.hfile.HFile.Writer writer) Creates a new general (Row or RowCol) Bloom filter at the time ofHStoreFile
writing.