poIPost GetQueryRuleList

Gets the list of query rules from the client.

Syntax

client_handle GetQueryRuleList

Application

HyperView Tcl Query

Description

This command is used to get the list of query rules from the client.

Example

To get the list of query rules:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID1 [client AddQueryRule mindist]
client GetQueryRuleHandle distance_rule_handle $ruleID1
distance_rule_handle SetDistance "20"
set ruleID2 [client AddQueryRule extreme]
client GetQueryRuleHandle extreme_rule_handle $ruleID2
extreme_rule_handle SetExtreme "TopN 2"
client GetQueryRuleList
hwi CloseStack

Errors

This command returns HW_InvalidHandle, if the core object associated with the post handle does not exist anymore.