public interface KeyValuePartitionReader extends Closeable, KeyValueIterable
Modifier and Type | Interface and Description |
---|---|
static class |
KeyValuePartitionReader.Factory
Factory for
KeyValuePartitionReader . |
Modifier and Type | Method and Description |
---|---|
byte[] |
get(byte[] key)
Gets the value associated with the given key in the key-value partition, returning null if the
key is not found.
|
ByteBuffer |
get(ByteBuffer key)
Gets the value associated with the given key in the key-value partition, returning null if the
key is not found.
|
int |
size() |
iterator
byte[] get(byte[] key) throws IOException, AlluxioException
key
- key to get, cannot be nullIOException
AlluxioException
ByteBuffer get(ByteBuffer key) throws IOException, AlluxioException
key
- key to get, cannot be nullIOException
AlluxioException
int size() throws IOException, AlluxioException
IOException
AlluxioException
Copyright © 2023. All Rights Reserved.