AnyExtractor enhancements in 10.7.1
Apama 10.7.1 includes the following enhancements:
The
com.apama.util.AnyExtractor event for extracting data from an
any type now has actions
getAnyOr,
getStringOr,
getIntegerOr,
getFloatOr,
getBooleanOr,
getSequenceOr, and
getDictionaryOr. These actions return a user-specified default value if the path to the nested value does not exist, or if the path exists but the value is not of the required type. These offer non-throwing alternatives to the existing getter actions in the
AnyExtractor event. See the
API Reference for EPL (ApamaDoc) for more information.
AnyExtractor now supports extracting values from some additional types: events,
sequence<ANY_TYPE>,
dictionary<string,ANY_TYPE>,
dictionary<any,ANY_TYPE> and location objects. The "." and "[]" operators are also interchangeable, so either can be used for extracting values from any of these types.