Macro query

The macro query can be used for user-programmed queries.

Configuration:

Property

Description

Queries

The Queries property displays the query components that have been configured for the query. The result of the queries is used as input for the execution of this query.
If no queries are created, the result is obtained directly from the current context.

You also have the option here to configure new queries via the text box or the buttons to the right of the text box.

Macro type

Select the macro type of the macro query here:

  • Velocity Macro: The macro in the Macro property is executed.

  • Java class: the Java class in the Macro Java class property is executed.

Macro Java class Enter the Java class to be executed here. The Java class must have the fully qualified name of a Java class that implements the de.aeneis.report.AeneisMacro interface and has a default public constructor. The Java class will be executed only if you have selected the macro type Java Class.

Macro

Enter the macro to be executed here. The macro will be executed only if you have set the Velocity macro type.

See also: For more on velocity macros, see Velocity macros.

Parameters

Create and edit parameters for the macro here. Parameters are especially useful for use as variables.

Variables

You can activate the enabled attributes of a query and condition in the Variables property so that they can be changed by users at the time of execution.

See also: Chapter Variables.