public class LDiffUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static long |
MASK_32BIT |
(package private) static java.security.MessageDigest |
md |
Constructor and Description |
---|
LDiffUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
close(Environment env,
Database db) |
static byte[] |
concatByteArray(byte[] a,
byte[] b) |
static int |
getXi(byte[] keyValue)
Each byte (Xi in the tech report) is replaced by a 32 bit Adler checksum
of the bytes representing the concatenation of the key/value pair.
|
static Database |
openDb(Environment env,
java.lang.String dbName) |
static Environment |
openEnv(java.lang.String envDir) |
static Block |
readBlock(int blockId,
Cursor cursor,
int numKeys) |
static final long MASK_32BIT
static java.security.MessageDigest md
public static byte[] concatByteArray(byte[] a, byte[] b)
public static int getXi(byte[] keyValue)
public static Block readBlock(int blockId, Cursor cursor, int numKeys) throws DatabaseException
DatabaseException
public static Environment openEnv(java.lang.String envDir)
public static Database openDb(Environment env, java.lang.String dbName)
public static void close(Environment env, Database db)
Copyright (c) 2004-2012 Oracle. All rights reserved.