|
xapian-core
1.4.30
|
Definitions, types, etc for use inside glass. More...
#include "internaltypes.h"
Include dependency graph for glass_defs.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| Glass | |
Macros | |
| #define | GLASS_TABLE_EXTENSION "glass" |
| Glass table extension. More... | |
| #define | GLASS_DEFAULT_BLOCKSIZE 8192 |
| Default B-tree block size. More... | |
| #define | GLASS_MIN_BLOCKSIZE 2048 |
| Minimum B-tree block size. More... | |
| #define | GLASS_MAX_BLOCKSIZE 65536 |
| Maximum B-tree block size. More... | |
| #define | GLASS_BTREE_CURSOR_LEVELS 10 |
| Allow for this many levels in the B-tree. More... | |
| #define | GLASS_MAX_DOCID Xapian::docid(0xffffffffffffffff) |
| The largest docid value supported by glass. More... | |
Typedefs | |
| typedef uint4 | glass_block_t |
| A block number in a glass Btree file. More... | |
| typedef uint4 | glass_revision_number_t |
| The revision number of a glass database. More... | |
| typedef unsigned long long | glass_tablesize_t |
| How many entries there are in a table. More... | |
Enumerations | |
| enum | Glass::table_type { Glass::POSTLIST , Glass::DOCDATA , Glass::TERMLIST , Glass::POSITION , Glass::SPELLING , Glass::SYNONYM , Glass::MAX_ } |
Definitions, types, etc for use inside glass.
Definition in file glass_defs.h.
| #define GLASS_BTREE_CURSOR_LEVELS 10 |
Allow for this many levels in the B-tree.
With 10, overflow is practically impossible. FIXME: but we want it to be completely impossible...
Definition at line 43 of file glass_defs.h.
| #define GLASS_DEFAULT_BLOCKSIZE 8192 |
Default B-tree block size.
Definition at line 30 of file glass_defs.h.
| #define GLASS_MAX_BLOCKSIZE 65536 |
Maximum B-tree block size.
Definition at line 36 of file glass_defs.h.
| #define GLASS_MAX_DOCID Xapian::docid(0xffffffffffffffff) |
The largest docid value supported by glass.
The disk format supports 64-bit docids, but if Xapian::docid is narrower then it's the largest value supported by the type that matters here.
Definition at line 50 of file glass_defs.h.
| #define GLASS_MIN_BLOCKSIZE 2048 |
Minimum B-tree block size.
Definition at line 33 of file glass_defs.h.
| #define GLASS_TABLE_EXTENSION "glass" |
Glass table extension.
Definition at line 27 of file glass_defs.h.
| typedef uint4 glass_block_t |
A block number in a glass Btree file.
Definition at line 65 of file glass_defs.h.
| typedef uint4 glass_revision_number_t |
The revision number of a glass database.
Definition at line 68 of file glass_defs.h.
| typedef unsigned long long glass_tablesize_t |
How many entries there are in a table.
Definition at line 71 of file glass_defs.h.