Broker 10.15 | webMethods Broker Documentation | Administering webMethods Broker | Managing Cluster Gateways | Filtering Documents across a Cluster Gateway | Filter Operators
 
Filter Operators
The following tables contain the various operators that you can use to create filters. For a more complete list of operators, see the webMethods Broker Client Java API Programmer’s Guide.
Note:
Integration Server and Software AG Designer use different filter syntax for subscribing to publishable documents. For more information, see the Software AG Designer Online Help.
The following table shows the logical filter operators:
Note:
Logical filter operator expressions are evaluated using a method similar to SQL expression evaluation, in that all operators are always evaluated. When a logical filter operator expression contains multiple operators, operator precedence determines the sequence in which the operations are performed. For example, when evaluating the expression "A OR B", both "A" and "B" are evaluated, even if "A" evaluates to "true".
Operator
Description
! not
Not
&& and
And
|| or
Or
The following table shows the comparison filter operators:
Operator
Description
<
Less than
<=
Less than or equal to
>
Greater than
>=
Greater than or equal to
=
Equal to
==
Equal to
!=
Not equal to
The following table shows the arithmetic filter operators:
Note:
Implicit type conversion occurs when operands in an arithmetic operation have different types. The operands are converted to a larger value before the comparison occurs. Type char is considered numeric, but boolean is not.
Operator
Description
-
Unary minus
*
Multiplication
/
Division
%
Modulus Division
-
Subtraction
+
Addition
The following table shows the String operators:
Operator
Description
+
Concatenation
<
Less than
<=
Less than or equal to
>
Greater than
>=
Greater than or equal to
=
Equal to
==
Equal to
!=
Not equal to