Apama 10.3.1 | Apama Documentation | Developing Apama Applications | EPL Reference | Monitors | The using declaration
 
The using declaration
The using declaration lets you use a type in a package other than the package the type was defined in without having to specify the fully qualified name of the type.
Insert a using declaration (after the optional package declaration and before any other declarations) that specifies the fully qualified name of the type. For example:
using com.myCorporation.custom.myCustomAggregate;
You can specify multiple using declarations in a file.
In a file, you cannot specify two using declarations that bring in types that have the same base name. See also Name Precedence.
You cannot specify a using declaration for named objects such as monitors, JMon monitors, and namespaces.
A using declaration can be in a monitor or in a query.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.