public class SortLookupStoreFactory extends Object implements LookupStoreFactory
LookupStoreFactory which uses hash to lookup records on disk.LookupStoreFactory.Context| 构造器和说明 |
|---|
SortLookupStoreFactory(Comparator<MemorySlice> comparator,
CacheManager cacheManager,
int blockSize,
CompressOptions compression) |
| 限定符和类型 | 方法和说明 |
|---|---|
SortLookupStoreReader |
createReader(File file,
LookupStoreFactory.Context context) |
SortLookupStoreWriter |
createWriter(File file,
BloomFilter.Builder bloomFilter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbfGenerator, createpublic SortLookupStoreFactory(Comparator<MemorySlice> comparator, CacheManager cacheManager, int blockSize, CompressOptions compression)
public SortLookupStoreReader createReader(File file, LookupStoreFactory.Context context) throws IOException
createReader 在接口中 LookupStoreFactoryIOExceptionpublic SortLookupStoreWriter createWriter(File file, @Nullable BloomFilter.Builder bloomFilter) throws IOException
createWriter 在接口中 LookupStoreFactoryIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.