public class BeamSqlRandIntegerExpression extends BeamSqlExpression
BeamSqlMathUnaryExpression for 'RAND_INTEGER([seed, ] numeric)'
function.operands, outputType| Constructor and Description |
|---|
BeamSqlRandIntegerExpression(java.util.List<BeamSqlExpression> subExps) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept()
assertion to make sure the input and output are supported in this expression.
|
BeamSqlPrimitive |
evaluate(BeamRecord inputRecord,
BoundedWindow window)
Apply input record
BeamRecord with BoundedWindow to this expression,
the output value is wrapped with BeamSqlPrimitive. |
getOperands, getOutputType, numberOfOperands, op, opType, opValueEvaluatedpublic BeamSqlRandIntegerExpression(java.util.List<BeamSqlExpression> subExps)
public boolean accept()
BeamSqlExpressionaccept in class BeamSqlExpressionpublic BeamSqlPrimitive evaluate(BeamRecord inputRecord, BoundedWindow window)
BeamSqlExpressionBeamRecord with BoundedWindow to this expression,
the output value is wrapped with BeamSqlPrimitive.evaluate in class BeamSqlExpression