1e41f4b71Sopenharmony_ci# OH_VBucket
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci## Overview
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ciDefines the types of the key and value in a KV pair.
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci**Since**: 10
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci**Related module**: [RDB](_r_d_b.md)
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci## Summary
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci### Member Variables
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci| Name| Description|
19e41f4b71Sopenharmony_ci| -------- | -------- |
20e41f4b71Sopenharmony_ci| [id](_r_d_b.md#id-45) | Unique identifier of the **OH_VBucket** struct.|
21e41f4b71Sopenharmony_ci| [capability](_r_d_b.md#capability) | Number of the KV pairs in the struct.|
22e41f4b71Sopenharmony_ci| [putText](_r_d_b.md#puttext-12) | Puts a char value into the **OH_VBucket** object in the given column.|
23e41f4b71Sopenharmony_ci| [putInt64](_r_d_b.md#putint64-12) | Puts an int64_t value into the **OH_VBucket** object in the given column.|
24e41f4b71Sopenharmony_ci| [putReal](_r_d_b.md#putreal) | Puts a double value into the **OH_VBucket** object in the given column.|
25e41f4b71Sopenharmony_ci| [putBlob](_r_d_b.md#putblob) | Puts a const uint8_t value into the **OH_VBucket** object in the given column.|
26e41f4b71Sopenharmony_ci| [putNull](_r_d_b.md#putnull) | Puts a null value into the **OH_VBucket** object in the given column.|
27e41f4b71Sopenharmony_ci| [clear](_r_d_b.md#clear-22) | Clears an **OH_VBucket** object.|
28e41f4b71Sopenharmony_ci| [destroy](_r_d_b.md#destroy-34) | Destroys an **OH_VBucket** object and reclaims the memory occupied.|
29