public class LeveldbUtils
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
LeveldbUtils.KeyBuilder |
A string builder utility for building timeline server leveldb keys.
|
static class |
LeveldbUtils.KeyParser |
| Modifier and Type | Field | Description |
|---|---|---|
static org.apache.hadoop.fs.permission.FsPermission |
LEVELDB_DIR_UMASK |
Default permission mask for the level db dir
|
| Constructor | Description |
|---|---|
LeveldbUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static org.iq80.leveldb.DB |
loadOrRepairLevelDb(org.fusesource.leveldbjni.JniDBFactory factory,
org.apache.hadoop.fs.Path dbPath,
org.iq80.leveldb.Options options) |
|
static boolean |
prefixMatches(byte[] prefix,
int prefixlen,
byte[] b) |
Returns true if the byte array begins with the specified prefix.
|
public static final org.apache.hadoop.fs.permission.FsPermission LEVELDB_DIR_UMASK
public static boolean prefixMatches(byte[] prefix,
int prefixlen,
byte[] b)
public static org.iq80.leveldb.DB loadOrRepairLevelDb(org.fusesource.leveldbjni.JniDBFactory factory,
org.apache.hadoop.fs.Path dbPath,
org.iq80.leveldb.Options options)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.