poIQueryExtremeRule SetExtreme

Sets the query extreme to the advanced query.

Syntax

rule_handle SetExtreme queryExtreme

Application

HyperView Tcl Modify

Description

This command is used to set the query extreme to the advanced query.

Inputs

queryExtreme
Accepts only the following rule types: "TopN" or "BottomN".

Example

To set the query extreme to the advanced query:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule extreme]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetExtreme "TopN 3"
set advQueryID [client AddAdvancedQuery]
client GetAdvancedQueryHandle advancedQuery_handle $advQueryID
advancedQuery_handle AddSimulations “current” “current”
advancedQuery_handle SetQueryRule "[rule_handle GetID]" 
advancedQuery_handle SetQuery “entity.id entity.value”
hwi CloseStack

Errors

This command returns HW_Error, if an invalid string is passed to the query extreme.