Version 1.1.5
WT_ITEM Struct Reference

A raw item of data to be managed. More...

List of all members.

Public Attributes

const void * data
 The memory reference of the data item.
uint32_t size
 The number of bytes in the data item.

Detailed Description

A raw item of data to be managed.

Data items have a pointer to the data and a length (limited to 4GB for items stored in tables).

Examples:
ex_all.c, and ex_extending.c.

Member Data Documentation

const void* WT_ITEM::data

The memory reference of the data item.

For items returned by a WT_CURSOR, the pointer is only valid until the next operation on that cursor. Applications that need to keep an item across multiple cursor operations must make a copy.

Examples:
ex_all.c, and ex_extending.c.