62 <<
"<id>" << v.
get_id() <<
"</id>"
63 <<
"<name>" << v.
get_name() <<
"</name>"
73 bool install_volatile,
Pimpl object of ArrayStorage.
StorageType get_type() const
Returns the type of this storage.
uint32_t StorageId
Unique ID for storage.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Represents a key-value store based on a dense and regular array.
Represents one thread running on one NUMA core.
uint64_t ArrayOffset
The only key type in array storage.
ArrayStorage & operator=(const ArrayStorage &other)
uint16_t get_payload_size() const
Returns byte size of one record in this array storage without internal overheads. ...
Brings error stacktrace information as return value of functions.
Engine * engine_
Most attachable object stores an engine pointer (local engine), so we define it here.
ErrorStack create(const Metadata &metadata)
ArrayOffset get_array_size() const
Returns the size of this array.
Represents one key-value store.
ErrorCode prefetch_pages(thread::Thread *context, bool install_volatile, bool cache_snapshot, ArrayOffset from, ArrayOffset to)
defined in array_storage_prefetch.cpp
ArrayStorageControlBlock * control_block_
The shared data on shared memory that has been initialized in some SOC or master engine.
const StorageName & get_name() const
Returns the unique name of this storage.
ErrorCode prefetch_pages(thread::Thread *context, bool install_volatile, bool cache_snapshot, ArrayOffset from, ArrayOffset to)
Prefetch data pages in this storage.
bool exists() const
Returns whether this storage is already created.
Database engine object that holds all resources and provides APIs.
Shared data of this storage type.
StorageId get_id() const
Returns the unique ID of this storage.
std::ostream & operator<<(std::ostream &o, const ArrayCreateLogType &v)
ErrorStack load(const StorageControlBlock &snapshot_block)
#define ASSERT_ND(x)
A warning-free wrapper macro of assert() that has no performance effect in release mode even when 'x'...
ErrorStack create(const Metadata &metadata)
A base layout of shared data for all storage types.
ErrorCode
Enum of error codes defined in error_code.xmacro.
ErrorStack load(const StorageControlBlock &snapshot_block)