|
|||||||||
| 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 entry,
String name,
boolean checkData)
Throw an exception if the entry 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 entry)
Throw an exception if the key entry 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)
IllegalArgumentException - via any API method
public static void checkForNullDbt(DatabaseEntry entry,
String name,
boolean checkData)
IllegalArgumentException - via any API method that takes a
required DatabaseEntry parampublic static void checkForPartialKey(DatabaseEntry entry)
IllegalArgumentException - via put methodx
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||