public class ScalarFunctionCallGen extends Object implements CallGenerator
ScalarFunction
.
param: scalarFunction user-defined ScalarFunction
that might be overloaded
param: signature actual signature with which the function is called
param: returnType actual return type required by the surrounding
Constructor and Description |
---|
ScalarFunctionCallGen(ScalarFunction scalarFunction,
scala.collection.Seq<TypeInformation<?>> signature,
TypeInformation<?> returnType) |
Modifier and Type | Method and Description |
---|---|
GeneratedExpression |
generate(CodeGenerator codeGenerator,
scala.collection.Seq<GeneratedExpression> operands) |
public ScalarFunctionCallGen(ScalarFunction scalarFunction, scala.collection.Seq<TypeInformation<?>> signature, TypeInformation<?> returnType)
public GeneratedExpression generate(CodeGenerator codeGenerator, scala.collection.Seq<GeneratedExpression> operands)
generate
in interface CallGenerator
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.