poIPost GetAdvancedQueryList

Gets the advanced query list.

Syntax

client_handle GetAdvancedQueryList

Application

HyperView Tcl Query

Description

This command is used to get the advanced query list.

Example

To get the advanced query list:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID1 [client AddQueryRule mindist]
client GetQueryRuleHandle distance_rule_handle $ruleID1
distance_rule_handle SetDistance "20"
set advQueryID1 [client AddAdvancedQuery]
set ruleID2 [client AddQueryRule extreme]
client GetQueryRuleHandle extreme_rule_handle $ruleID2
extreme_rule_handle SetExtreme "TopN 2"
set advQueryID2 [client AddAdvancedQuery]
client GetAdvancedQueryList
hwi CloseStack

Errors

This command returns HW_AllocFailed, if there is no query available.