public class BeamSqlFnExecutor extends java.lang.Object implements BeamSqlExpressionExecutor
BeamSqlExpression
and BeamSqlPrimitive
. BeamSqlFnExecutor
converts a BeamRelNode
to a BeamSqlExpression
, which can be
evaluated against the Row
.Constructor and Description |
---|
BeamSqlFnExecutor(org.apache.calcite.rex.RexProgram program) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.List<java.lang.Object> |
execute(Row inputRow,
BoundedWindow window,
BeamSqlExpressionEnvironment env)
apply transformation to input record
Row with BoundedWindow . |
void |
prepare()
invoked before data processing.
|
public BeamSqlFnExecutor(org.apache.calcite.rex.RexProgram program)
public void prepare()
BeamSqlExpressionExecutor
prepare
in interface BeamSqlExpressionExecutor
@Nullable public java.util.List<java.lang.Object> execute(Row inputRow, BoundedWindow window, BeamSqlExpressionEnvironment env)
BeamSqlExpressionExecutor
Row
with BoundedWindow
.execute
in interface BeamSqlExpressionExecutor
public void close()
close
in interface BeamSqlExpressionExecutor