Connecting Apama Applications to External Components > Using Standard Adapters > Using Adapter Plug-ins > The Filter Codec plug-in > Examples of filter specifications
Examples of filter specifications
The following filter removes the price field from upstream events when the value of the price field is 0.0:
<property name="filter.upstream.price" value="0.0"/>
The following filter removes the name field from upstream and downstream events when the value of the name field is NULL:
<property name="filter.both.name" value="NULL"/>
In upstream events, the following filter removes each field in which the value is 55:
<property name="filter.upstream" value="55"/>
In upstream and downstream events, the following filter removes each field in which the value is <remove>:
<property name="filter" value="<remove>"/>
Copyright © 2013-2015 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.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.