/** Returns the table in this UDF, or null if there is no table. */ public TranslatableTable getTable(RelDataTypeFactory typeFactory, List<SqlNode> operandList) { List<Object> arguments = convertArguments(typeFactory, operandList, tableMacro, getNameAsId(), true); return tableMacro.apply(arguments); }
/** Returns the table in this UDF, or null if there is no table. */ public TranslatableTable getTable(RelDataTypeFactory typeFactory, List<SqlNode> operandList) { List<Object> arguments = convertArguments(typeFactory, operandList, tableMacro, getNameAsId(), true); return tableMacro.apply(arguments); }
final RelDataType rowType = table.getRowType(typeFactory); RelOptTable relOptTable = RelOptTableImpl.create(null, rowType, table, udf.getNameAsId().names); RelNode converted = toRel(relOptTable); bb.setRoot(converted, true);
final RelDataType rowType = table.getRowType(typeFactory); RelOptTable relOptTable = RelOptTableImpl.create(null, rowType, table, udf.getNameAsId().names); RelNode converted = toRel(relOptTable); bb.setRoot(converted, true);
final RelDataType rowType = table.getRowType(typeFactory); RelOptTable relOptTable = RelOptTableImpl.create(null, rowType, table, udf.getNameAsId().names); RelNode converted = toRel(relOptTable); bb.setRoot(converted, true);
final RelDataType rowType = table.getRowType(typeFactory); RelOptTable relOptTable = RelOptTableImpl.create(null, rowType, table, udf.getNameAsId().names); RelNode converted = toRel(relOptTable); bb.setRoot(converted, true);