public static class LeveldbUtils.KeyBuilder extends Object
| Constructor and Description |
|---|
KeyBuilder(int size) |
| Modifier and Type | Method and Description |
|---|---|
LeveldbUtils.KeyBuilder |
add(byte[] t) |
LeveldbUtils.KeyBuilder |
add(byte[] t,
boolean sep) |
LeveldbUtils.KeyBuilder |
add(String s) |
byte[] |
getBytes() |
byte[] |
getBytesForLookup() |
static LeveldbUtils.KeyBuilder |
newInstance() |
public static LeveldbUtils.KeyBuilder newInstance()
public LeveldbUtils.KeyBuilder add(String s)
public LeveldbUtils.KeyBuilder add(byte[] t)
public LeveldbUtils.KeyBuilder add(byte[] t, boolean sep)
public byte[] getBytes()
throws IOException
IOExceptionpublic byte[] getBytesForLookup()
throws IOException
IOExceptionCopyright © 2015 Apache Software Foundation. All Rights Reserved.