public class ReflectiveCallNotNullImplementor extends Object implements NotNullImplementor
NotNullImplementor
that calls a given Method.
When method is not static, a new instance of the required class is created.
| Constructor and Description |
|---|
ReflectiveCallNotNullImplementor(Method method)
Constructor of
ReflectiveCallNotNullImplementor. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.linq4j.tree.Expression |
implement(RexToLixTranslator translator,
RexCall call,
List<org.apache.calcite.linq4j.tree.Expression> translatedOperands)
Implements a call with assumption that all the null-checking is
implemented by caller.
|
protected final Method method
public ReflectiveCallNotNullImplementor(Method method)
ReflectiveCallNotNullImplementor.method - Method that is used to implement the callpublic org.apache.calcite.linq4j.tree.Expression implement(RexToLixTranslator translator, RexCall call, List<org.apache.calcite.linq4j.tree.Expression> translatedOperands)
NotNullImplementorimplement in interface NotNullImplementortranslator - translator to implement the codecall - call to implementtranslatedOperands - arguments of a callCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.