Package net.hydromatic.optiq

Examples of net.hydromatic.optiq.TranslatableTable


    // Expand table macro if possible. It's more efficient than
    // TableFunctionRel.
    if (operator instanceof SqlUserDefinedTableMacro) {
      final SqlUserDefinedTableMacro udf =
          (SqlUserDefinedTableMacro) operator;
      final TranslatableTable table = udf.getTable(typeFactory,
        call.getOperandList());
      final RelDataType rowType = table.getRowType(typeFactory);
      RelOptTable relOptTable =
          RelOptTableImpl.create(null, rowType, (TranslatableTable) table);
      RelNode converted = toRel(relOptTable);
      bb.setRoot(converted, true);
      return;
View Full Code Here


    // Expand table macro if possible. It's more efficient than
    // TableFunctionRel.
    if (operator instanceof SqlUserDefinedTableMacro) {
      final SqlUserDefinedTableMacro udf =
          (SqlUserDefinedTableMacro) operator;
      final TranslatableTable table = udf.getTable(typeFactory,
        call.getOperandList());
      final RelDataType rowType = table.getRowType(typeFactory);
      RelOptTable relOptTable =
          RelOptTableImpl.create(null, rowType, (TranslatableTable) table);
      RelNode converted = toRel(relOptTable);
      bb.setRoot(converted, true);
      return;
View Full Code Here

    // Expand table macro if possible. It's more efficient than
    // TableFunctionRel.
    if (operator instanceof SqlUserDefinedTableMacro) {
      final SqlUserDefinedTableMacro udf =
          (SqlUserDefinedTableMacro) operator;
      final TranslatableTable table = udf.getTable(typeFactory,
        call.getOperandList());
      final RelDataType rowType = table.getRowType(typeFactory);
      RelOptTable relOptTable = RelOptTableImpl.create(null, rowType, table);
      RelNode converted = toRel(relOptTable);
      bb.setRoot(converted, true);
      return;
    }
View Full Code Here

TOP

Related Classes of net.hydromatic.optiq.TranslatableTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.