private static class RexImpTable.MethodNameImplementor extends java.lang.Object implements NotNullImplementor
Use this, as opposed to RexImpTable.MethodImplementor
, if the SQL function
is overloaded; then you can use one implementor for several overloads.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
methodName |
Constructor and Description |
---|
MethodNameImplementor(java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
Expression |
implement(RexToLixTranslator translator,
RexCall call,
java.util.List<Expression> translatedOperands)
Implements a call with assumption that all the null-checking is
implemented by caller.
|
public Expression implement(RexToLixTranslator translator, RexCall call, java.util.List<Expression> translatedOperands)
NotNullImplementor
implement
in interface NotNullImplementor
translator
- translator to implement the codecall
- call to implementtranslatedOperands
- arguments of a callCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.