public static class StoreContext.Builder extends Object
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 |
private HRegionFileSystem |
regionFileSystem |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StoreContext |
build() |
StoreContext.Builder |
withBlockSize(int blockSize) |
StoreContext.Builder |
withBloomType(BloomType bloomFilterType) |
StoreContext.Builder |
withCacheConfig(CacheConfig cacheConf) |
StoreContext.Builder |
withCellComparator(CellComparator comparator) |
StoreContext.Builder |
withColumnFamilyDescriptor(ColumnFamilyDescriptor family) |
StoreContext.Builder |
withCompactedFilesSupplier(Supplier<Collection<HStoreFile>> compactedFilesSupplier) |
StoreContext.Builder |
withEncryptionContext(Encryption.Context encryptionContext) |
StoreContext.Builder |
withFamilyStoreDirectoryPath(org.apache.hadoop.fs.Path familyStoreDirectoryPath) |
StoreContext.Builder |
withFavoredNodesSupplier(Supplier<InetSocketAddress[]> favoredNodesSupplier) |
StoreContext.Builder |
withRegionCoprocessorHost(RegionCoprocessorHost coprocessorHost) |
StoreContext.Builder |
withRegionFileSystem(HRegionFileSystem regionFileSystem) |
private int blockSize
private Encryption.Context encryptionContext
private CacheConfig cacheConf
private HRegionFileSystem regionFileSystem
private CellComparator comparator
private BloomType bloomFilterType
private Supplier<Collection<HStoreFile>> compactedFilesSupplier
private Supplier<InetSocketAddress[]> favoredNodesSupplier
private ColumnFamilyDescriptor family
private org.apache.hadoop.fs.Path familyStoreDirectoryPath
private RegionCoprocessorHost coprocessorHost
public Builder()
public StoreContext.Builder withBlockSize(int blockSize)
public StoreContext.Builder withEncryptionContext(Encryption.Context encryptionContext)
public StoreContext.Builder withCacheConfig(CacheConfig cacheConf)
public StoreContext.Builder withRegionFileSystem(HRegionFileSystem regionFileSystem)
public StoreContext.Builder withCellComparator(CellComparator comparator)
public StoreContext.Builder withBloomType(BloomType bloomFilterType)
public StoreContext.Builder withCompactedFilesSupplier(Supplier<Collection<HStoreFile>> compactedFilesSupplier)
public StoreContext.Builder withFavoredNodesSupplier(Supplier<InetSocketAddress[]> favoredNodesSupplier)
public StoreContext.Builder withColumnFamilyDescriptor(ColumnFamilyDescriptor family)
public StoreContext.Builder withFamilyStoreDirectoryPath(org.apache.hadoop.fs.Path familyStoreDirectoryPath)
public StoreContext.Builder withRegionCoprocessorHost(RegionCoprocessorHost coprocessorHost)
public StoreContext build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.