private static class RexImpTable.CastOptimizedImplementor extends Object implements CallImplementor
CAST function that optimizes if, say, the
argument is already of the desired type.| Modifier and Type | Field and Description |
|---|---|
private CallImplementor |
accurate |
| Modifier | Constructor and Description |
|---|---|
private |
CastOptimizedImplementor() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
implement(RexToLixTranslator translator,
RexCall call,
RexImpTable.NullAs nullAs)
Implements a call.
|
private final CallImplementor accurate
public Expression implement(RexToLixTranslator translator, RexCall call, RexImpTable.NullAs nullAs)
CallImplementorimplement in interface CallImplementortranslator - Translator for the callcall - Call that should be implementednullAs - The desired mode of null translationCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.