public class SqlTypeTransformCascade extends java.lang.Object implements SqlReturnTypeInference
SqlReturnTypeInference
rule and a combination of
SqlTypeTransform
sModifier and Type | Field and Description |
---|---|
private SqlReturnTypeInference |
rule |
private com.google.common.collect.ImmutableList<SqlTypeTransform> |
transforms |
Constructor and Description |
---|
SqlTypeTransformCascade(SqlReturnTypeInference rule,
SqlTypeTransform... transforms)
Creates a SqlTypeTransformCascade from a rule and an array of one or more
transforms.
|
Modifier and Type | Method and Description |
---|---|
RelDataType |
inferReturnType(SqlOperatorBinding opBinding)
Infers the return type of a call to an
SqlOperator . |
private final SqlReturnTypeInference rule
private final com.google.common.collect.ImmutableList<SqlTypeTransform> transforms
public SqlTypeTransformCascade(SqlReturnTypeInference rule, SqlTypeTransform... transforms)
public RelDataType inferReturnType(SqlOperatorBinding opBinding)
SqlReturnTypeInference
SqlOperator
.inferReturnType
in interface SqlReturnTypeInference
opBinding
- description of operator bindingCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.