Changes

Jump to navigation Jump to search
216 bytes added ,  19:29, 26 October 2011
no edit summary
The following data types are used for specifying the storage layout:
 
=Data Types=
 
{| class="wikitable" width="100%"
|-
! Type
! Description
! Example
|-
| valign='top' | {{Type|Num}}
| valign='top' | Compressed integer (1-5 bytes)
| valign='top' | 15 → 0x0F
|}
 
 
* {{Type|Num}}: compressed integer (1-5 bytes)
* {{Type|Token}}: length ({{Type|Num}}) and bytes of UTF8 byte representation
* {{Type|TokenSet}}: key array (<code>Tokens</code>), next/bucket/size arrays (<code>Nums</code>)
* {{Type|Nums}}, {{Type|Tokens}} and {{Type|Doubles}} are arrays of values, and introduced with the number of entries ({{Type|Num}})
 
=Database Files=
The following tables present the layout of BaseX database files. All files are suffixed with <code>.basex</code>.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu