Describes resulting data of content query. Contains columns and rows that were retrieved from the database.
More...
#include <content_data.hpp>
Describes resulting data of content query. Contains columns and rows that were retrieved from the database.
◆ addColumn()
Appends a column in to this content data.
- Returns
- Data for new column.
◆ addRow()
ContentRow * kanzi::connect::ContentData::addRow |
( |
| ) |
|
Appends a row in to this content data.
- Returns
- Container for values in new row.
◆ asJson()
string kanzi::connect::ContentData::asJson |
( |
| ) |
|
◆ getColumn()
ContentColumn * kanzi::connect::ContentData::getColumn |
( |
size_t | index | ) |
|
Retrieves given column from this content data.
- Parameters
-
index | Index of the column. |
- Returns
- Column data.
◆ getColumnCount()
size_t kanzi::connect::ContentData::getColumnCount |
( |
| ) |
const |
Retrieves number of columns in this content data.
- Returns
- Number of columns.
◆ getRow()
ContentRow * kanzi::connect::ContentData::getRow |
( |
size_t | index | ) |
|
Retrieves given row from this content data.
- Parameters
-
- Returns
- Row data.
◆ getRowCount()
size_t kanzi::connect::ContentData::getRowCount |
( |
| ) |
const |
Retrieves number of rows in this content data.
- Returns
- Number of rows.
◆ getStartIndex()
size_t kanzi::connect::ContentData::getStartIndex |
( |
| ) |
const |
retrieve the start index
- Returns
- start index
◆ setStartIndex()
void kanzi::connect::ContentData::setStartIndex |
( |
size_t | startIndex | ) |
|
Set the start index.
- Parameters
-
The documentation for this class was generated from the following file:
- connect/content/content_data.hpp