Interface: ITable

An interface to provide access to two-dimensional rectangular data structures such as HERE Fleet Telematics API text formatted response data. It uses two generic types:

  • C: The type for all cell values
  • M: The type for the meta information

Methods

concat (var_args)H.service.extension.dataView.ITable.<C, M> Deprecated : since 3.1.63.0

To merge two ore more tables. It doesn't change the existing table, but instead returns a new one. The concat method creates a new ITable consisting of the rows in the object on which it is called, followed in order by, for each argument, the rows of that argument. in the arguments list.

Name Type Description
var_args H.service.extension.dataView.ITable.<C, M> repeatable

Tables to concatenate into a new table.

Throws:

if the tables have a different columns.

Type
H.lang.InvalidArgumentError
Returns:
Type Description
H.service.extension.dataView.ITable.<C, M> the resulting table.

getCell (rowIndex, columnName)C | undefined Deprecated : since 3.1.63.0

To get the cell value at the given row index and named column

Name Type Description
rowIndex number

The zero-based index of the cell's row.

columnName string

The name of the cell's column.

Returns:
Type Description
C | undefined The value of the specified cell or undefined if the given row index is out of range or a column of the given name doesn't exists.

getColumn (columnName)!H.service.extension.dataView.IColumn.<C> | undefined Deprecated : since 3.1.63.0

To get the column with the given name.

Name Type Description
columnName string

The name of the column.

Returns:
Type Description
!H.service.extension.dataView.IColumn.<C> | undefined The specified column or undefined if no column with the given name exists.

getColumnNames ()Array.<string> Deprecated : since 3.1.63.0

To get a ordered list of all column names.

Returns:
Type Description
Array.<string> the list of the column names.

getMeta ()M Deprecated : since 3.1.63.0

To get meta information of the table.

Returns:
Type Description
M

getRow (rowIndex)!H.service.extension.dataView.IRow.<C> | undefined Deprecated : since 3.1.63.0

To get the row at the given index.

Name Type Description
rowIndex number

The zero-based index of the row.

Returns:
Type Description
!H.service.extension.dataView.IRow.<C> | undefined The specified row or undefined if the given row index is out of range.

getRowCount ()number Deprecated : since 3.1.63.0

To get the number of rows

Returns:
Type Description
number