|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.utilint.DatabaseUtil
public class DatabaseUtil
Utils for use in the db package.
Constructor Summary | |
---|---|
DatabaseUtil()
|
Method Summary | |
---|---|
static void |
checkForNullDbt(DatabaseEntry dbt,
String name,
boolean checkData)
Throw an exception if the dbt is null or the data field is not set. |
static void |
checkForNullParam(Object param,
String name)
Throw an exception if the parameter is null. |
static void |
checkForPartialKey(DatabaseEntry dbt)
Throw an exception if the key dbt has the partial flag set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseUtil()
Method Detail |
---|
public static void checkForNullParam(Object param, String name)
public static void checkForNullDbt(DatabaseEntry dbt, String name, boolean checkData)
public static void checkForPartialKey(DatabaseEntry dbt)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |