|
final boolean | isRowUdf |
|
final SqlTypeName | ret |
|
final List< SqlTypeName > | outs |
|
Definition at line 2016 of file MapDSqlOperatorTable.java.
com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.ExtFunction |
( |
final String |
name, |
|
|
final ExtensionFunction |
sig |
|
) |
| |
|
inlinepackage |
RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 2036 of file MapDSqlOperatorTable.java.
References com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.isRowUdf, and com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.ret.
2038 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2039 return typeFactory.createTypeWithNullability(
2040 typeFactory.createSqlType(
ret),
true);
2042 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2043 java.util.List<RelDataType> typeList =
new java.util.ArrayList<RelDataType>();
2044 java.util.List<java.lang.String> fieldNameList =
2045 new java.util.ArrayList<java.lang.String>();
2047 for (
int out_idx = 0; out_idx < outs.size(); ++out_idx) {
2049 fieldNameList.add(
"out" + out_idx);
2050 typeList.add(typeFactory.createSqlType(outs.get(out_idx)));
2052 return typeFactory.createStructType(typeList, fieldNameList);
final boolean com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.isRowUdf |
|
private |
final List<SqlTypeName> com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.outs |
|
private |
final SqlTypeName com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.ret |
|
private |
The documentation for this class was generated from the following file: