ComparisonOperator
Dostępne operatory porównania.
Wartości w polu enum |
COMPARISON_OPERATOR_UNSPECIFIED |
Nieznany operator. |
EQUAL |
Wartości są równe. |
GREATER_THAN |
Wartość sygnału jest większa niż wartość porównawcza. |
LESS_THAN |
Wartość sygnału jest mniejsza niż w drugim. |
GREATER_THAN_OR_EQUAL_TO |
Wartość sygnału jest większa lub równa sekundzie. |
LESS_THAN_OR_EQUAL_TO |
Wartość sygnału jest mniejsza lub równa wartości porównawczej. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-13 UTC.
[null,null,["Ostatnia aktualizacja: 2025-02-13 UTC."],[[["Supported comparison operators include equal, greater than, less than, greater than or equal to, and less than or equal to."],["These operators are used to compare values within data, allowing for filtering and conditional logic."],["Each operator is represented by a specific enum value for use in code and configurations."],["An `UNSPECIFIED` enum exists for unknown or undefined comparison operations."]]],["The provided content outlines six comparison operators. `COMPARISON_OPERATOR_UNSPECIFIED` indicates an unknown operator. `EQUAL` checks if values are identical. `GREATER_THAN` and `LESS_THAN` assess if a signal value is, respectively, larger or smaller than a comparison value. `GREATER_THAN_OR_EQUAL_TO` and `LESS_THAN_OR_EQUAL_TO` determine if the signal value is, respectively, larger or equal, or smaller or equal to the comparison value.\n"]]