public class SortLookupStoreReader extends Object implements LookupStoreReader
LookupStoreReader for sort store.
TODO add block cache support.
TODO separate index cache and block cache.
| Constructor and Description |
|---|
SortLookupStoreReader(Comparator<MemorySlice> comparator,
File file,
SortContext context,
CacheManager cacheManager) |
public SortLookupStoreReader(Comparator<MemorySlice> comparator, File file, SortContext context, CacheManager cacheManager) throws IOException
IOException@Nullable public byte[] lookup(byte[] key) throws IOException
LookupStoreReaderlookup in interface LookupStoreReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.