18 #ifndef FOEDUS_STORAGE_MASSTREE_RECORD_LOCATION_HPP_
19 #define FOEDUS_STORAGE_MASSTREE_RECORD_LOCATION_HPP_
72 bool intended_for_write);
78 #endif // FOEDUS_STORAGE_MASSTREE_RECORD_LOCATION_HPP_
uint16_t SlotIndex
Index of a record in a (border) page.
#define CXX11_NULLPTR
Used in public headers in place of "nullptr" of C++11.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Forward declarations of classes in transaction package.
Represents a user transaction.
Persistent status part of Transaction ID.
Represents one border page in Masstree Storage.
Represents a record of read-access during a transaction.
Definitions of IDs in this package and a few related constant values.
xct::ReadXctAccess * readset_
If this method took a read-set on the returned record, points to the corresponding read-set...
Definitions of IDs in this package and a few related constant values.
const SlotIndex kBorderPageMaxSlots
Maximum number of slots in one MasstreeBorderPage.
SlotIndex index_
Index of the record in the page.
Forward declarations of classes in masstree storage package.
MasstreeBorderPage * page_
The border page containing the record.
xct::XctId observed_
TID as of locate_record() identifying the record.
return value of MasstreeStoragePimpl::locate_record()/reserve_record().
ErrorCode
Enum of error codes defined in error_code.xmacro.
ErrorCode populate_logical(xct::Xct *cur_xct, MasstreeBorderPage *page, SlotIndex index, bool intended_for_write)
Populates the result with XID and possibly readset.