harmony 鸿蒙oh_values_bucket.h

  • 2025-06-12
  • 浏览 (6)

oh_values_bucket.h

Overview

Defines the types of the key and value in a key-value (KV) pair.

File to include:

Library: libnative_rdb_ndk.z.so

Since: 10

Related module: RDB

Summary

Structs

Name Description
OH_VBucket Defines the types of the key and value in a KV pair.

Types

Name Description
OH_VBucket Defines the types of the key and value in a KV pair.

Functions

Name Description
int OH_VBucket_PutAsset (OH_VBucket *bucket, const char *field, OH_Asset *value) Puts an OH_Asset object into the OH_VBucket object in the given column.
int OH_VBucket_PutAssets (OH_VBucket *bucket, const char *field, OH_Asset **value, int count) Puts an array of OH_Asset objects into the OH_VBucket object in the given column.
int OH_VBucket_PutFloatVector (OH_VBucket *bucket, const char *field, const float *vec, size_t len) Puts a floating-point array into an OH_VBucket object in the given column.
int OH_VBucket_PutUnlimitedInt (OH_VBucket *bucket, const char *field, int sign, const uint64_t *trueForm, size_t len) Puts an integer of any length into an OH_VBucket object in the given column.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkData (ArkData Management)

harmony 鸿蒙Data

harmony 鸿蒙OH_Cursor

harmony 鸿蒙OH_Predicates

harmony 鸿蒙OH_Rdb_Config

harmony 鸿蒙OH_Rdb_Store

harmony 鸿蒙OH_VBucket

harmony 鸿蒙OH_VObject

harmony 鸿蒙Preferences

harmony 鸿蒙_r_d_b

0  赞