use of com.hazelcast.jet.sql.impl.schema.HazelcastRelOptTable in project hazelcast by hazelcast.
the class OptUtils method createLogicalScan.
public static LogicalTableScan createLogicalScan(TableScan originalScan, HazelcastTable newHazelcastTable) {
HazelcastRelOptTable originalRelTable = (HazelcastRelOptTable) originalScan.getTable();
HazelcastRelOptTable newTable = createRelTable(originalRelTable, newHazelcastTable, originalScan.getCluster().getTypeFactory());
return LogicalTableScan.create(originalScan.getCluster(), newTable, originalScan.getHints());
}
use of com.hazelcast.jet.sql.impl.schema.HazelcastRelOptTable in project hazelcast by hazelcast.
the class OptUtils method createLogicalScan.
public static LogicalTableScan createLogicalScan(RelOptCluster cluster, HazelcastTable hazelcastTable) {
JetTable table = hazelcastTable.getTarget();
HazelcastRelOptTable relTable = createRelTable(table.getQualifiedName(), hazelcastTable, cluster.getTypeFactory());
return LogicalTableScan.create(cluster, relTable, ImmutableList.of());
}
Aggregations