public class BlockWriter extends Object
Constructor and Description |
---|
BlockWriter(int blockSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] key,
byte[] value) |
MemorySlice |
finish() |
int |
memory() |
void |
reset() |
int |
size() |
public void reset()
public void add(byte[] key, byte[] value)
public int size()
public int memory()
public MemorySlice finish() throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.