public class LeveldbUtils extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | LeveldbUtils.KeyBuilderA string builder utility for building timeline server leveldb keys. | 
| static class  | LeveldbUtils.KeyParser | 
| Modifier and Type | Field and Description | 
|---|---|
| static org.apache.hadoop.fs.permission.FsPermission | LEVELDB_DIR_UMASKDefault permission mask for the level db dir | 
| Constructor and Description | 
|---|
| LeveldbUtils() | 
| Modifier and Type | Method and 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 IOException
IOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.