Create a predicate by combining two predicates that were previously created.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Shared Function CreatePredicate( _ ByVal predl As NetricsPredicate, _ ByVal op As Integer, _ ByVal predr As NetricsPredicate _ ) As NetricsPredicate |
| C# |
|---|
| public static NetricsPredicate CreatePredicate( NetricsPredicate predl, int op, NetricsPredicate predr ) |
| C++ |
|---|
| public: static NetricsPredicate CreatePredicate( NetricsPredicate predl, int op, NetricsPredicate predr ) |
| J# |
|---|
| public static NetricsPredicate CreatePredicate( NetricsPredicate predl, int op, NetricsPredicate predr ) |
| JScript |
|---|
| public static
function CreatePredicate( predl : NetricsPredicate, op : int, predr : NetricsPredicate ) : NetricsPredicate |
Remarks
The parameter is applied between the two predicates. The possible codes are listed in the table below.
| Operator Id | Description |
| NetricsPredicate.pred_ops.EQUALS | The equality operator (==) - valid for string comparisons as well |
| NetricsPredicate.pred_ops.INSEN_EQUALS | The equality operator (==) - valid for case insensitive string comparisons as well |
| NetricsPredicate.pred_ops.LESSTHEN | The less than operator (<) |
| NetricsPredicate.pred_ops.INSEN_LESSTHEN | The case insensitive less than operator (<) |
| NetricsPredicate.pred_ops.LESSTHENOREQ | The less that or equal to operator (<=) |
| NetricsPredicate.pred_ops.INSEN_LESSTHENOREQ | The case insensitive less that or equal to operator (<=) |
| NetricsPredicate.pred_ops.GREATERTHAN | The greater than operator (>) |
| NetricsPredicate.pred_ops.INSEN_GREATERTHAN | The case insensitive greater than operator (>) |
| NetricsPredicate.pred_ops.GREATERTHANOREQ | The greater than or equal to operator (>=) |
| NetricsPredicate.pred_ops.INSEN_GREATERTHANOREQ | The case insensitive greater than or equal to operator (>=) |
| NetricsPredicate.pred_ops.PLUS | The addition operator (+) |
| NetricsPredicate.pred_ops.MINUS | The subtraction operator (-) |
| NetricsPredicate.pred_ops.TIMES | The multiplication operator (*) |
| NetricsPredicate.pred_ops.DIVIDEDBY | The division operator (/) |
| NetricsPredicate.pred_ops.TOTHE | The exponent operator (^) |
| NetricsPredicate.pred_ops.AND | The AND operator (&&) |
| NetricsPredicate.pred_ops.OR | The OR operator (||) |
| NetricsPredicate.pred_ops.ISIN | The substring operator - detects substring matches of the left operand in the right operand |
| NetricsPredicate.pred_ops.INSIN_ISIN | The substring operator - detects substring matches of the left operand in the right operand ignoring letter case |
| NetricsPredicate.pred_ops.TOKENIZE | The tokenize operator |
| NetricsPredicate.pred_ops.SUPERSET | The superset operator |
| NetricsPredicate.pred_ops.SUBSET | The subset operator |