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
LookupStoreReader
lookup
in interface LookupStoreReader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.