Interface: ResultItemAPI

ResultItemAPI

API class that is used to work with a result data item.

Example

queryResult.getResultItemList()[index]

Methods

getDataItemList() → {Array.<DataItemAPI>}

Gets column information in the result data item.

Returns:

Array of DataItemAPI DataItemAPI

Type
Array.<DataItemAPI>

getRowCount() → {Number}

Gets the row count of the corresponding column of the result data item.

Returns:

Number of rows in the corresponding column

Type
Number

getValue(rowIndex) → {Array.<ResultDataValue>}

Gets the value object at the specified rowIndex.

Parameters:
Name Type Description
rowIndex Number

Index to access the items list.

Returns:

Value of object array ResultDataValue

Type
Array.<ResultDataValue>
Example
[{
	value: 'dataset_csv.Product_line->[Camping Equipment]',
	label: 'Camping Equipment'
}]