FilterBinaryOperator
Enum that defines operators for use with filter expressions.
Enum Definition
from enum import Enum
class FilterBinaryOperator(Enum):
"""Represents the different binary operators used in filtering operations."""
AND = 0
OR = 1
EQUALS = 2
NOT_EQUALS = 3
IN = 4
HAS = 5
LESS_THAN = 6
GREATER_THAN = 7
LESS_THAN_OR_EQUAL = 8
GREATER_THAN_OR_EQUAL = 9
Enum Members
Member | Value | Description |
---|---|---|
AND | 0 | Logical AND operator, used to combine conditions. |
OR | 1 | Logical OR operator, used to combine alternative conditions. |
EQUALS | 2 | Tests if two values are equal. |
NOT_EQUALS | 3 | Tests if two values are not equal. |
IN | 4 | Tests if a value is within a specified list or range. |
HAS | 5 | Tests if a collection contains a specific element. |
LESS_THAN | 6 | Tests if one value is less than another. |
GREATER_THAN | 7 | Tests if one value is greater than another. |
LESS_THAN_OR_EQUAL | 8 | Tests if one value is less than or equal to another. |
GREATER_THAN_OR_EQUAL | 9 | Tests if one value is greater than or equal to another. |
Updated about 1 month ago
What’s Next