• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_Cursor
2
3
4## Overview
5
6Provides APIs to access the result set obtained by querying the RDB store.
7
8**Since**: 10
9
10**Related modules**: [RDB](_r_d_b.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| [id](_r_d_b.md#id-14)                                       | Unique identifier of the **OH_Cursor** struct.                               |
21| [getColumnCount](_r_d_b.md#getcolumncount) | Pointer to the function used to obtain the number of columns in the result set. |
22| [getColumnType](_r_d_b.md#getcolumntype) | Pointer to the function used to obtain the column type based on the specified column index. |
23| [getColumnIndex](_r_d_b.md#getcolumnindex) | Pointer to the function used to obtain the column index based on the specified column name. |
24| [getColumnName](_r_d_b.md#getcolumnname) | Pointer to the function used to obtain the column name based on the specified column index. |
25| [getRowCount](_r_d_b.md#getrowcount) | Pointer to the function used to obtain the number of rows in the result set. |
26| [goToNextRow](_r_d_b.md#gotonextrow) | Pointer to the function used to go to the next row of the result set. |
27| [getSize](_r_d_b.md#getsize) | Pointer to the function used to obtain information about the memory required when the column data type in the result set is **BLOB** or **TEXT**. |
28| [getText](_r_d_b.md#gettext) | Pointer to the function used to obtain the value of the string type based on the specified column and the current row. |
29| [getInt64](_r_d_b.md#getint64) | Pointer to the function used to obtain the value of the int64_t type based on the specified column and the current row. |
30| [getReal](_r_d_b.md#getreal) | Pointer to the function used to obtain the value of the double type based on the specified column and the current row. |
31| [getBlob](_r_d_b.md#getblob) | Pointer to the function used to obtain the values in the form of a byte array based on the specified column and the current row. |
32| [isNull](_r_d_b.md#isnull-12) | Pointer to the function used to check whether the value in the specified column is null. |
33| [destroy](_r_d_b.md#destroy-14) | Pointer to the function used to close a result set. |
34| [getAsset](_r_d_b.md#getasset) | Pointer to the function used to obtain the value of the asset type based on the specified column and current row. |
35| [getAssets](_r_d_b.md#getassets) | Pointer to the function used to obtain the values in the form of an asset array based on the specified column and current row. |
36