public class MatchReturnTypeInference extends Object implements SqlReturnTypeInference
SqlTypeNames. If
no match could be found, null is returned.| Constructor and Description |
|---|
MatchReturnTypeInference(int start,
List<SqlTypeName> typeNames)
Returns the first type matching any type in typeNames at or after
position start (zero based).
|
MatchReturnTypeInference(int start,
SqlTypeName... typeNames)
Returns the first type of typeName at or after position start (zero
based).
|
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
inferReturnType(SqlOperatorBinding opBinding)
Infers the return type of a call to an
SqlOperator. |
public MatchReturnTypeInference(int start,
SqlTypeName... typeNames)
public MatchReturnTypeInference(int start,
List<SqlTypeName> typeNames)
public RelDataType inferReturnType(SqlOperatorBinding opBinding)
SqlReturnTypeInferenceSqlOperator.inferReturnType in interface SqlReturnTypeInferenceopBinding - description of operator bindingCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.