public class BeamSqlNotExpression extends BeamSqlLogicalExpression
BeamSqlExpression
for logical operator: NOT.
Whether boolean is not TRUE; returns UNKNOWN if boolean is UNKNOWN.
operands, outputType
Constructor and Description |
---|
BeamSqlNotExpression(java.util.List<BeamSqlExpression> operands) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept()
assertion to make sure the input and output are supported in this expression.
|
BeamSqlPrimitive |
evaluate(Row inputRow,
BoundedWindow window)
Apply input record
Row with BoundedWindow to this expression,
the output value is wrapped with BeamSqlPrimitive . |
getOperands, getOutputType, numberOfOperands, op, opType, opValueEvaluated
public BeamSqlNotExpression(java.util.List<BeamSqlExpression> operands)
public boolean accept()
BeamSqlExpression
accept
in class BeamSqlLogicalExpression
public BeamSqlPrimitive evaluate(Row inputRow, BoundedWindow window)
BeamSqlExpression
Row
with BoundedWindow
to this expression,
the output value is wrapped with BeamSqlPrimitive
.evaluate
in class BeamSqlExpression