@InterfaceAudience.Private public final class StoreContext extends Object implements HeapSize
Modifier and Type | Class and Description |
---|---|
static class |
StoreContext.Builder |
Modifier and Type | Field and Description |
---|---|
private int |
blockSize |
private BloomType |
bloomFilterType |
private CacheConfig |
cacheConf |
private Supplier<Collection<HStoreFile>> |
compactedFilesSupplier |
private CellComparator |
comparator |
private RegionCoprocessorHost |
coprocessorHost |
private Encryption.Context |
encryptionContext |
private ColumnFamilyDescriptor |
family |
private org.apache.hadoop.fs.Path |
familyStoreDirectoryPath |
private Supplier<InetSocketAddress[]> |
favoredNodesSupplier |
static long |
FIXED_OVERHEAD |
private HRegionFileSystem |
regionFileSystem |
Modifier | Constructor and Description |
---|---|
private |
StoreContext(StoreContext.Builder builder) |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize() |
BloomType |
getBloomFilterType() |
static StoreContext.Builder |
getBuilder() |
CacheConfig |
getCacheConf() |
Supplier<Collection<HStoreFile>> |
getCompactedFilesSupplier() |
CellComparator |
getComparator() |
RegionCoprocessorHost |
getCoprocessorHost() |
Encryption.Context |
getEncryptionContext() |
ColumnFamilyDescriptor |
getFamily() |
org.apache.hadoop.fs.Path |
getFamilyStoreDirectoryPath() |
InetSocketAddress[] |
getFavoredNodes() |
HRegionFileSystem |
getRegionFileSystem() |
RegionInfo |
getRegionInfo() |
TableName |
getTableName() |
long |
heapSize()
Return the approximate 'exclusive deep size' of implementing object.
|
boolean |
isPrimaryReplicaStore() |
public static final long FIXED_OVERHEAD
private final int blockSize
private final Encryption.Context encryptionContext
private final CacheConfig cacheConf
private final HRegionFileSystem regionFileSystem
private final CellComparator comparator
private final BloomType bloomFilterType
private final Supplier<Collection<HStoreFile>> compactedFilesSupplier
private final Supplier<InetSocketAddress[]> favoredNodesSupplier
private final ColumnFamilyDescriptor family
private final org.apache.hadoop.fs.Path familyStoreDirectoryPath
private final RegionCoprocessorHost coprocessorHost
private StoreContext(StoreContext.Builder builder)
public int getBlockSize()
public Encryption.Context getEncryptionContext()
public CacheConfig getCacheConf()
public HRegionFileSystem getRegionFileSystem()
public CellComparator getComparator()
public BloomType getBloomFilterType()
public Supplier<Collection<HStoreFile>> getCompactedFilesSupplier()
public InetSocketAddress[] getFavoredNodes()
public ColumnFamilyDescriptor getFamily()
public org.apache.hadoop.fs.Path getFamilyStoreDirectoryPath()
public RegionCoprocessorHost getCoprocessorHost()
public TableName getTableName()
public RegionInfo getRegionInfo()
public boolean isPrimaryReplicaStore()
public static StoreContext.Builder getBuilder()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.