Inherits from NSObject
Declared in KAResultQuery.h

Overview

Use this class to generate a query against the analytics data

Tasks

Properties

dateRange

The date range for the query object. If nil is passed, no date range is applied.

@property (nonatomic, nullable) KADateRange *dateRange

Discussion

The date range for the query object. If nil is passed, no date range is applied.

Declared In

KAResultQuery.h

filter

The filter associated with the query object. If nil is passed, no filter is applied.

@property (nonatomic, nullable) KAFilter *filter

Discussion

The filter associated with the query object. If nil is passed, no filter is applied.

Exceptions

NSException

Named NSInvalidArgumentException is thrown if filter has no element.

Declared In

KAResultQuery.h

groupingKey

The grouping key associated with the query object. If nil is passed, no grouping key is applied.

@property (nonatomic, nullable) NSString *groupingKey

Discussion

The grouping key associated with the query object. If nil is passed, no grouping key is applied.

Exceptions

NSException

Named NSInvalidArgumentException is thrown if groupingKey is invalid. GroupingKey must match with pattern ^[a-zA-Z][a-zA-Z0-9_]{0,63}$

Declared In

KAResultQuery.h