public class FunctionGenerator extends Object
Constructor and Description |
---|
FunctionGenerator() |
Modifier and Type | Method and Description |
---|---|
static scala.Option<CallGenerator> |
getCallGenerator(org.apache.calcite.sql.SqlOperator sqlOperator,
scala.collection.Seq<TypeInformation<?>> operandTypes,
TypeInformation<?> resultType)
Returns a
CallGenerator that generates all required code for calling the given
SqlOperator . |
public static scala.Option<CallGenerator> getCallGenerator(org.apache.calcite.sql.SqlOperator sqlOperator, scala.collection.Seq<TypeInformation<?>> operandTypes, TypeInformation<?> resultType)
CallGenerator
that generates all required code for calling the given
SqlOperator
.
sqlOperator
- SQL operator (might be overloaded)operandTypes
- actual operand typesresultType
- expected return typeCallGenerator
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.