public interface LookupStoreFactory
Modifier and Type | Interface and Description |
---|---|
static interface |
LookupStoreFactory.Context
Context between writer and reader.
|
Modifier and Type | Method and Description |
---|---|
static java.util.function.Function<Long,BloomFilter.Builder> |
bfGenerator(Options options) |
static LookupStoreFactory |
create(CoreOptions options,
CacheManager cacheManager,
Comparator<MemorySlice> keyComparator) |
LookupStoreReader |
createReader(File file,
LookupStoreFactory.Context context) |
LookupStoreWriter |
createWriter(File file,
BloomFilter.Builder bloomFilter) |
LookupStoreWriter createWriter(File file, @Nullable BloomFilter.Builder bloomFilter) throws IOException
IOException
LookupStoreReader createReader(File file, LookupStoreFactory.Context context) throws IOException
IOException
static java.util.function.Function<Long,BloomFilter.Builder> bfGenerator(Options options)
static LookupStoreFactory create(CoreOptions options, CacheManager cacheManager, Comparator<MemorySlice> keyComparator)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.