Db4o Directory Structure

This topic will explain the directory structure of the db4o project.


The following folders are used within the db4o core project.

Activation - Transparent Activation support classes. 

Cluster - contains cluster source code, which allows queries against several databases. Work in progress.

Config - contains configuration interface and other classes and interfaces used for db4o tuning and configuration.

Constraints -unique constraints code.

Defragment - defragmentation code and related service classes and interfaces.

Diagnostic - diagnostics classes and interfaces.

Events - external events implementation.

Ext - extended db4o functionality .

Foundation - db4o base classes and interfaces.

            Io - file system related code.

            Network - classes for network communications (buffer, socket).

Internal - internal db4o logic.

            Btree - b-Tree implementation. Used for indexing, freespace, defragment etc.

            Callbacks - callbacks definitions.

            ClassIndex - class index implementation.

            Cluster - internal cluster code.

            Collections - fast collections development classes.

            Convert - version converter.

            CS - client/server code

            Diagnostic - diagnostic processor.

            Events - internal events implementation.

            Fieldindex - field index logic

            Fileheader - classes for handling db4o file header.

            Freespace - freespace management code.

            Handlers - different type handlers (array, byte, char etc).

            Ix - old indexing logic.

            Mapping - internal mapping implementation for defragment.

            Marshall - different type marshallers.

            Query - query logic implementation.

            Replication - deprecated replication logic.

            Slots - classes dealing with slots in db4o file.

IO - db4o IoAdapter implementations.

Marshal - marchalling interfaces.

Messaging - messaging interfaces for client/server communications.

Query - classes and interfaces for different query types.

Reflect - reflection interfaces, generic reflector implementation.

            Core - abstract reflect classes.

            Generic - generic reflector implementation.

            Jdk - wrapper classes to JDK reflection.

            Self - reflector implementations for JDK platforms without reflection support.

Replication - db4o replication code

Ta - transparent activation code 

Types - db4o specific types