PresentationResultQuery Object


Description:

Provides SQL like syntax for defining the result that users are interested in.

Parents: DynamicChartResultView, DynamicResultView

Result children (automatically created): ResultViewData

PresentationResultQuery Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
ArchivingInterval

Controls archiving interval. Used only if Archiving option is PERIOIDIC. The unit is "seconds".

Type: u32

Default: 10

ArchivingOption

Controls whether view data is archived.

Type: enum

Default: NONE

Possible Values:

Value Description
NONE

No archiving.

PERIODIC

Archive periodically, depending on the archiving interval.

UPDATE

Update archive.

DatabaseFileName

Specifies database file name. This is only used when querying result from end of test result database.

Type: inputFilePath

Default: "" (empty string)

DisableAutoGrouping

Used to indicate if auto grouping is disable.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

True.

FALSE

False.

FromObjects

A list of objects to indicate the scope of results. All the objects in the list have to be the same type.

Type: handle

Default: 0

GroupByProperties

A list of conditions to indicate how the results will be group. Only config properties that exist in the SelectProperties could be used in the GroupByProperties.

Type: string

Default: "" (empty string)

LimitOffset

Specifies start of range to show within available data.

Type: u32

Default: 0

LimitSize

Specifies end of range to show within available data.

Type: u32

Default: 50

ResultState

Property to indicate result state.

Type: enum

Default: IDLE

Possible Values:

Value Description
IDLE

Result State is Idle.

WAITING

Result State is Waiting.

AVAILABLE

Result State is Available.

FAILED

Result State is Failed.

PENDING_UNSUBSCRIBE

Result State is Pending.

SelectProperties

A list of strings to indicate what properties to view.

Type: string

Default: "" (empty string)

SortBy

A list of properties to indicate the order of result. Only properties that exist in the SelectProperties could be used in SortBy.

Type: string

Default: "" (empty string)

WhereConditions

A list of conditions to indicate the filter for the result. Only properties that exist in the SelectProperties could be used in the WhereConditions.

Type: string

Default: "" (empty string)

PresentationResultQuery Read-Only Attributes

There are no read-only attributes.