Menu
Amazon Mobile Analytics
User Guide

Using a ResultSet

The REST API actions you can use to query the analytics for an app return that data as a ResultSet resource. A ResultSet has these properties you can use to access the data it contains:

Property Description
columns A map of column names to metadata about the column.
column.colIndex The index of the column this metadata describes.
column.dataType The data type of the column.
column.name A unique name that identifies the column.
column.displayName A friendly display name for the column.
column.unit The unit of measurement for the column.
column.type One of these values:
  • Quantitative, which indicates the column value is numeric.

  • Qualitative, which indicates the column value is a string.

rows A two-dimensional array containing ResultSet values. Values can have different data types as described by metadata in the column property.