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, wait
bfGenerator, create
public HashLookupStoreFactory(CacheManager cacheManager, int cachePageSize, double loadFactor, CompressOptions compression)
public HashLookupStoreReader createReader(File file, LookupStoreFactory.Context context) throws IOException
createReader
in interface LookupStoreFactory
IOException
public HashLookupStoreWriter createWriter(File file, @Nullable BloomFilter.Builder bloomFilter) throws IOException
createWriter
in interface LookupStoreFactory
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.