Package ch.javasoft.jbase
The jbase package and subpackages contain classes and interfaces for a
simple Java database; the database does not support transactions or optimization
techniques like indexing, supported operations include reading,
appending, updating and removing of elements of a
Table.
See:
Description
Package ch.javasoft.jbase Description
The jbase package and subpackages contain classes and interfaces for a
simple Java database; the database does not support transactions or optimization
techniques like indexing, supported operations include reading,
appending, updating and removing of elements of a
Table.
The Table is a list-like container for objects of a certain type. Two
implementations exist for tables:
FixedWidthTable which allows
storage of objects with a fixed byte size; a
FixedWidthMarshaller takes
care of the transformation of an object into bytes and vice versa.
VariableWidthTable which
allows storage of objects with varying byte size; a simple
EntityMarshaller is responsible
for byte-to-object and object-to-byte transformation. The
VariableWidthTable makes use of multiple
fixed width tables to store the
entities; each entity can be stored or read with at most two file accesses.