harmony 鸿蒙OH_Cursor

2025-06-12 浏览 (1)

OH_Cursor

Overview

Provides APIs to access the result set obtained by querying the RDB store.

Since: 10

Related module: RDB

Summary

Member Variables

NameDescription
idUnique identifier of the OH_Cursor struct.
getColumnCountPointer to the function used to obtain the number of columns in the result set.
getColumnTypePointer to the function used to obtain the column type based on the specified column index.
getColumnIndexPointer to the function used to obtain the column index based on the specified column name.
getColumnNamePointer to the function used to obtain the column name based on the specified column index.
getRowCountPointer to the function used to obtain the number of rows in the result set.
goToNextRowPointer to the function used to go to the next row of the result set.
getSizePointer to the function used to obtain information about the memory required when the column data type in the result set is BLOB or TEXT.
getTextPointer to the function used to obtain the value of the string type based on the specified column and the current row.
getInt64Pointer to the function used to obtain the value of the int64_t type based on the specified column and the current row.
getRealPointer to the function used to obtain the value of the double type based on the specified column and the current row.
getBlobPointer to the function used to obtain the values in the form of a byte array based on the specified column and the current row.
isNullPointer to the function used to check whether the value in the specified column is null.
destroyPointer to the function used to close a result set.
getAssetPointer to the function used to obtain the value of the asset type based on the specified column and current row.
getAssetsPointer to the function used to obtain the values in the form of an asset array based on the specified column and current row.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkData (ArkData Management)

harmony 鸿蒙Data

harmony 鸿蒙OH_Predicates

harmony 鸿蒙OH_Rdb_Config

harmony 鸿蒙OH_Rdb_Store

harmony 鸿蒙OH_VBucket

harmony 鸿蒙OH_VObject

harmony 鸿蒙Preferences

harmony 鸿蒙_r_d_b

harmony 鸿蒙Rdb_ChangeInfo

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/nBzpGX