protected class AlertEngine.BinaryExpression extends Object implements Expression
Expression.Operator
Modifier and Type | Field and Description |
---|---|
private MetadataExpression |
_metadata1 |
private MetadataExpression |
_metadata2 |
private Expression.Operator |
_operator |
Constructor and Description |
---|
BinaryExpression(String metadata1,
boolean unversioned1,
Expression.Operator operator,
String metadata2,
boolean unversioned2)
Creates the comparison Expression.
|
BinaryExpression(String metadata1,
Expression.Operator operator,
String metadata2)
Creates the comparison Expression.
|
private MetadataExpression _metadata1
private MetadataExpression _metadata2
private Expression.Operator _operator
public BinaryExpression(String metadata1, Expression.Operator operator, String metadata2)
metadata1
- the first metadata name.operator
- the operator to make the comparisonmetadata2
- the second metadata name.public BinaryExpression(String metadata1, boolean unversioned1, Expression.Operator operator, String metadata2, boolean unversioned2)
metadata1
- the first metadata name.unversioned1
- true if the first metadata is unversioned.operator
- the operator to make the comparison.metadata2
- the second metadata name.unversioned2
- true if the second metadata is unversioned.public String build()
Expression
build
in interface Expression