libfoedus-core
FOEDUS Core Library
array_id.hpp File Reference

Definitions of IDs in this package and a few related constant values. More...

Detailed Description

Definitions of IDs in this package and a few related constant values.

Definition in file array_id.hpp.

#include <stdint.h>
#include <iosfwd>
#include "foedus/storage/storage_id.hpp"
Include dependency graph for array_id.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  foedus::storage::array::ArrayRange
 Represents an offset range in an array storage. More...
 

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::storage
 Storage Manager, which implements a couple of key/value stores.
 
 foedus::storage::array
 Array Storage, a dense and regular array.
 

Typedefs

typedef uint64_t foedus::storage::array::ArrayOffset
 The only key type in array storage. More...
 

Variables

const ArrayOffset foedus::storage::array::kMaxArrayOffset = (1ULL << 48) - 1ULL
 The maximum value allowed for ArrayOffset. More...
 
const uint16_t foedus::storage::array::kHeaderSize = 64
 Byte size of header in each page of array storage. More...
 
const uint16_t foedus::storage::array::kDataSize = foedus::storage::kPageSize - kHeaderSize
 Byte size of data region in each page of array storage. More...
 
const uint16_t foedus::storage::array::kInteriorSize = 16
 Byte size of an entry in interior page of array storage. More...
 
const uint16_t foedus::storage::array::kInteriorFanout = (foedus::storage::kPageSize - kHeaderSize) / kInteriorSize
 Max number of entries in an interior page of array storage. More...
 
const uint8_t foedus::storage::array::kMaxLevels = 8
 Code in array storage assumes this number as the maximum number of levels. More...