Developing Apama Applications > Developing Adapters > Standard 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 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.