18 #ifndef FOEDUS_STORAGE_HASH_RECORD_LOCATION_HPP_
19 #define FOEDUS_STORAGE_HASH_RECORD_LOCATION_HPP_
117 cur_payload_length_ = 0;
119 physical_record_length_ = 0;
133 bool intended_for_write);
145 #endif // FOEDUS_STORAGE_HASH_RECORD_LOCATION_HPP_
uint16_t physical_record_length_
Byte count the record of the slot occupies, which is immutable.
T align8(T value)
8-alignment.
#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).
uint16_t get_aligned_key_length() const
uint16_t get_max_payload() const
Forward declarations of classes in transaction package.
const DataPageSlotIndex kSlotNotFound
Represents a user transaction.
Persistent status part of Transaction ID.
Represents a record of read-access during a transaction.
ErrorCode populate_logical(xct::Xct *cur_xct, HashDataPage *page, DataPageSlotIndex index, bool intended_for_write)
Populates the result with XID and possibly readset.
HashDataPage * page_
The data page (might not be bin-head) containing the record.
char * record_
Address of the record.
Definitions of IDs in this package and a few related constant values.
uint16_t key_length_
Key length of the slot, which is immutable.
uint16_t cur_payload_length_
Logical payload length as-of the observed XID.
uint16_t DataPageSlotIndex
void populate_physical(HashDataPage *page, DataPageSlotIndex index)
Populates fields other than readset_.
Represents an individual data page in Hashtable Storage.
xct::XctId observed_
TID as of locate_record() identifying the record.
return value of locate_record().
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.
ErrorCode
Enum of error codes defined in error_code.xmacro.
DataPageSlotIndex index_
Index of the record in the page.
Forward declarations of classes in hash storage package.