_o_h___v_bucket.md 1.3 KB
Newer Older
葛亚芳 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
# OH_VBucket


## 概述

用于存储键值对的类型。

**起始版本:**

10

**相关模块:**

[RDB](_r_d_b.md)


## 汇总


### 成员变量

| 名称 | 描述 |
| -------- | -------- |
| [id](_r_d_b.md#id-34) | OH_VBucket结构体的唯一标识符。 |
| [capability](_r_d_b.md#capability) | 表示结构体的存储键值对的数量。 |
| [putText](_r_d_b.md#puttext-12) | 将const char\*值放入给定列名的[OH_VBucket](zh-cn_topic_0000001564188350.xml)对象中。 |
| [putInt64](_r_d_b.md#putint64-12) | 将int64_t值放入给定列名的[OH_VBucket](zh-cn_topic_0000001564188350.xml)对象中。 |
| [putReal](_r_d_b.md#putreal) | 将double值放入给定列名的[OH_VBucket](zh-cn_topic_0000001564188350.xml)对象中**。** |
| [putBlob](_r_d_b.md#putblob) | 将const uint8_t \*值放入给定列名的[OH_VBucket](zh-cn_topic_0000001564188350.xml)对象中。 |
| [putNull](_r_d_b.md#putnull) | 将NULL值放入给定列名的[OH_VBucket](zh-cn_topic_0000001564188350.xml)对象中。 |
| [clear](_r_d_b.md#clear-22) | 清空[OH_VBucket](zh-cn_topic_0000001564188350.xml)对象。 |
| [destroyValuesBucket](_r_d_b.md#destroyvaluesbucket) | 销毁[OH_VBucket](zh-cn_topic_0000001564188350.xml)对象,并回收该对象占用的内存。 |