public class BeamSqlWindowStartExpression extends BeamSqlExpression
BeamSqlExpression
for HOP_START
, TUMBLE_START
, SESSION_START
operation.
These operators returns the start timestamp of window.
operands, outputType
Constructor and Description |
---|
BeamSqlWindowStartExpression() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept()
assertion to make sure the input and output are supported in this expression.
|
BeamSqlPrimitive<DateTime> |
evaluate(Row inputRow,
BoundedWindow window,
ImmutableMap<java.lang.Integer,java.lang.Object> correlateEnv)
Apply input record
Row with BoundedWindow to this expression, the output value
is wrapped with BeamSqlPrimitive . |
getOperands, getOutputType, numberOfOperands, op, opType, opValueEvaluated
public boolean accept()
BeamSqlExpression
accept
in class BeamSqlExpression
public BeamSqlPrimitive<DateTime> evaluate(Row inputRow, BoundedWindow window, ImmutableMap<java.lang.Integer,java.lang.Object> correlateEnv)
BeamSqlExpression
Row
with BoundedWindow
to this expression, the output value
is wrapped with BeamSqlPrimitive
.evaluate
in class BeamSqlExpression