public class HashLookupStoreFactory extends Object implements LookupStoreFactory
LookupStoreFactory which uses hash to lookup records on disk.LookupStoreFactory.Context| Constructor and Description |
|---|
HashLookupStoreFactory(CacheManager cacheManager,
int cachePageSize,
double loadFactor,
CompressOptions compression) |
| Modifier and Type | Method and Description |
|---|---|
HashLookupStoreReader |
createReader(File file,
LookupStoreFactory.Context context) |
HashLookupStoreWriter |
createWriter(File file,
BloomFilter.Builder bloomFilter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbfGenerator, createpublic HashLookupStoreFactory(CacheManager cacheManager, int cachePageSize, double loadFactor, CompressOptions compression)
public HashLookupStoreReader createReader(File file, LookupStoreFactory.Context context) throws IOException
createReader in interface LookupStoreFactoryIOExceptionpublic HashLookupStoreWriter createWriter(File file, @Nullable BloomFilter.Builder bloomFilter) throws IOException
createWriter in interface LookupStoreFactoryIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.