public class DataFileReader extends Object implements Closeable
DataFileMeta.| Constructor and Description |
|---|
DataFileReader(File localFile,
DataFileMeta remoteFile,
LookupStoreReader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
fileKibiBytes() |
byte[] |
get(byte[] key) |
DataFileMeta |
remoteFile() |
public DataFileReader(File localFile, DataFileMeta remoteFile, LookupStoreReader reader)
@Nullable public byte[] get(byte[] key) throws IOException
IOExceptionpublic int fileKibiBytes()
public DataFileMeta remoteFile()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.