All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

C

close(). Method in class jdbm.Database
Closes a data base

D

Database(File, int). Constructor for class jdbm.Database
Opens a database file in the specified O_ mode.
Database(String, int). Constructor for class jdbm.Database
Opens a database file in the specified O_ mode.
delete(byte[]). Method in class jdbm.Database
Deletes a key data pair from the database.
disableFastUpdateMode(). Method in class jdbm.Database
Disables the fast mode for updates.

E

enableFastUpdateMode(). Method in class jdbm.Database
Enables the fast mode for updates.
exists(byte[]). Method in class jdbm.Database
Checks whether the given key exists in the data base
exists(String). Method in class jdbm.Database
Checks whether the given key exists in the data base

F

fetch(byte[]). Method in class jdbm.Database
Fetch the data if the given key exists in the data base
fetch(String). Method in class jdbm.Database
Fetch the data if the given key exists in the data base
fetchBytes(String). Method in class jdbm.Database
Fetch the data if the given key exists in the data base
fetchString(byte[]). Method in class jdbm.Database
Fetch the data if the given key exists in the data base
FileUnavailableException(). Constructor for class jdbm.FileUnavailableException
FileUnavailableException(Database, byte[]). Constructor for class jdbm.FileUnavailableException
FileUnavailableException(String). Constructor for class jdbm.FileUnavailableException
finalize(). Method in class jdbm.Database
firstkey(). Method in class jdbm.Database
For iteration: get first key in database.

G

getDatabase(). Method in class jdbm.FileUnavailableException
Returns data base on which problem happened.
getDatabase(). Method in class jdbm.KeyExistsException
Returns data base on which problem happened.
getDatabase(). Method in class jdbm.NoSuchKeyException
Returns data base on which problem happened.
getKey(). Method in class jdbm.FileUnavailableException
Returns offending key.
getKey(). Method in class jdbm.KeyExistsException
Returns offending key.
getKey(). Method in class jdbm.NoSuchKeyException
Returns offending key.

I

IllegalOperationError(). Constructor for class jdbm.IllegalOperationError
IllegalOperationError(String). Constructor for class jdbm.IllegalOperationError

K

KeyExistsException(). Constructor for class jdbm.KeyExistsException
KeyExistsException(Database, byte[]). Constructor for class jdbm.KeyExistsException
KeyExistsException(String). Constructor for class jdbm.KeyExistsException

N

nextkey(byte[]). Method in class jdbm.Database
For iteration: get next key in database following the given key.
NoSuchKeyException(). Constructor for class jdbm.NoSuchKeyException
NoSuchKeyException(Database, byte[]). Constructor for class jdbm.NoSuchKeyException
NoSuchKeyException(String). Constructor for class jdbm.NoSuchKeyException

O

O_CREATE. Static variable in class jdbm.Database
Opens database file as a writer and creates a new database file if it does not already exist.
O_FAST. Static variable in class jdbm.Database
Opens database file in fast update mode.
O_NEWDB. Static variable in class jdbm.Database
Opens database file as a writer and creates a new database file regardless whether or not it already exists.
O_READER. Static variable in class jdbm.Database
Opens database file as a reader
O_WRITER. Static variable in class jdbm.Database
Opens database file as a writer

R

reorganize(). Method in class jdbm.Database
Frees space in the data base after data has been deleted.

S

S_INSERT. Static variable in class jdbm.Database
Raises KeyExistsException if a data is attempted to be stored by a key that already exists.
S_REPLACE. Static variable in class jdbm.Database
Overwrites the data of a key if the key exists.
setCacheSize(int). Method in class jdbm.Database
Sets the bucket cache size.
store(byte[], byte[], int). Method in class jdbm.Database
Store the data for the given key in the specified S_ mode.
store(String, byte[], int). Method in class jdbm.Database
Store the data for the given key in the specified S_ mode.
store(String, String, int). Method in class jdbm.Database
Store the data for the given key in the specified S_ mode.
sync(). Method in class jdbm.Database
Synchronizes the data base on disk with recent updates in memory if database is in fast update mode.