public class ExplicitOperandTypeInference extends Object implements SqlOperandTypeInference
SqlOperandTypeInference by
explicitly supplying a type for each parameter.| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<RelDataType> |
paramTypes |
| Constructor and Description |
|---|
ExplicitOperandTypeInference(com.google.common.collect.ImmutableList<RelDataType> paramTypes)
|
| Modifier and Type | Method and Description |
|---|---|
void |
inferOperandTypes(SqlCallBinding callBinding,
RelDataType returnType,
RelDataType[] operandTypes)
Infers any unknown operand types.
|
private final com.google.common.collect.ImmutableList<RelDataType> paramTypes
ExplicitOperandTypeInference(com.google.common.collect.ImmutableList<RelDataType> paramTypes)
public void inferOperandTypes(SqlCallBinding callBinding, RelDataType returnType, RelDataType[] operandTypes)
SqlOperandTypeInferenceinferOperandTypes in interface SqlOperandTypeInferencecallBinding - description of the call being analyzedreturnType - the type known or inferred for the result of the calloperandTypes - receives the inferred types for all operandsCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.