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