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
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<BeamSqlExpression> |
exps |
Constructor and Description |
---|
BeamSqlFnExecutor(BeamRelNode relNode) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.List<java.lang.Object> |
execute(Row inputRow,
BoundedWindow window,
ImmutableMap<java.lang.Integer,java.lang.Object> correlateEnv)
apply transformation to input record
Row with BoundedWindow . |
void |
prepare()
invoked before data processing.
|
protected java.util.List<BeamSqlExpression> exps
public BeamSqlFnExecutor(BeamRelNode relNode)
public void prepare()
BeamSqlExpressionExecutor
prepare
in interface BeamSqlExpressionExecutor
public java.util.List<java.lang.Object> execute(Row inputRow, BoundedWindow window, ImmutableMap<java.lang.Integer,java.lang.Object> correlateEnv)
BeamSqlExpressionExecutor
Row
with BoundedWindow
.execute
in interface BeamSqlExpressionExecutor
public void close()
close
in interface BeamSqlExpressionExecutor