Page tree
Skip to end of metadata
Go to start of metadata

This operator allow to connect to any named operator in another installed query.

Parameter

  • operator: A string list with queryname and operator, or a string with a query name. The latter case would connect to a single sink of a query (else there will be an exception).
  • port: The output port of the operator in the source query that should be connected to. Default is the standard port 0.

Example

#PARSER PQL
#QNAME Query1
#RUNQUERY
out = SELECT({PREDICATE = 'id > 1', name = 'test1'}, person)
out2 = RENAME({NOOP = true, name = 'test2'},out)

#PARSER PQL
#RUNQUERY
out1 = QUERYSOURCE({operator = ['Query1','test1']})
out2 = QUERYSOURCE({operator = ['Query1','test2'], port = 0})

  • No labels