poIAdvancedQuery GetQuery
Gets the output query string.
Syntax
advancedQuery_handle GetQuery
Application
HyperView Tcl Query
Description
This command is used to get the query string from the advanced query.
Example
To get the query string form 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"
advancedQuery_handle GetQuery
hwi CloseStack
Errors
This command returns an empty string if there is no query string set.