An OBIDMS is also contitued by views

This commit is contained in:
2015-05-12 14:54:10 +02:00
parent 0b6c1f9f28
commit b0c9b295f1

View File

@ -7,26 +7,27 @@ Formats
The OBItools3 Data Management System (OBIDMS) The OBItools3 Data Management System (OBIDMS)
********************************************* *********************************************
An OBIDMS directory consists of : An OBIDMS directory consists of :
* OBIDMS column files * OBIDMS column files
* OBIDMS view descriptions
* an OBIDMS history file * an OBIDMS history file
OBIDMS column files OBIDMS column files
=================== ===================
Each OBIDMS column file contains : Each OBIDMS column file contains :
* a header of a size equal to a multiple of PAGESIZE (PAGESIZE being equal to 4096 bytes * a header of a size equal to a multiple of PAGESIZE (PAGESIZE being equal to 4096 bytes
on most systems) containing metadata on most systems) containing metadata
* one column of data of the same type * one column of data of the same type
OBIDMS column files are read-only. OBIDMS column files are read-only.
File name File name
--------- ---------
Each file is named with the attribute associated to the data it contains, and the number of Each file is named with the attribute associated to the data it contains, and the number of
its version, separated by an underscore. its version, separated by an underscore.
Example : ``count_0003`` Example : ``count_0003``
@ -39,10 +40,10 @@ Header
------ ------
The header of an OBIDMS column contains : The header of an OBIDMS column contains :
* Endian byte order * Endian byte order
* PAGESIZE value / Size of the header * PAGESIZE value / Size of the header
* Number of lines (total or without the header?) * Number of lines (total or without the header?)
* Data type (int, str...) * Data type (int, str...)
* Date of creation * Date of creation
@ -59,10 +60,10 @@ A column of data of the same type.
Versioning Versioning
---------- ----------
Since OBIDMS column files are read-only, any modification leads to the creation of a new version Since OBIDMS column files are read-only, any modification leads to the creation of a new version
of the column file. of the column file.
The first version of a column file is numbered 0001, and each new version increments that The first version of a column file is numbered 0001, and each new version increments that
number by 1. number by 1.
@ -72,19 +73,19 @@ Mandatory columns
Some columns must exist in an OBIDMS directory : Some columns must exist in an OBIDMS directory :
* sequence identifiers column * sequence identifiers column
OBIDMS history file OBIDMS history file
=================== ===================
An OBIDMS history file consists of data that can be represented in the form of a directed acyclic An OBIDMS history file consists of data that can be represented in the form of a directed acyclic
graph presenting the history of all the operations ever done in the OBIDMS directory. graph presenting the history of all the operations ever done in the OBIDMS directory.
OBIDMS views OBIDMS views
============ ============
An OBIDMS view corresponds to a list of OBIDMS columns and lines. A view includes one version An OBIDMS view corresponds to a list of OBIDMS columns and lines. A view includes one version
of each mandatory column. Only one version of each column is included. All the columns of of each mandatory column. Only one version of each column is included. All the columns of
one view contain the same number of lines in the same order. one view contain the same number of lines in the same order.
@ -99,4 +100,3 @@ OBIIntColumn header file
======================== ========================
.. doxygenfile:: obiintcolumn.h .. doxygenfile:: obiintcolumn.h