Search in sources :

Example 1 with JetTable

use of com.hazelcast.jet.sql.impl.schema.JetTable 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());
}
Also used : HazelcastRelOptTable(com.hazelcast.jet.sql.impl.schema.HazelcastRelOptTable) JetTable(com.hazelcast.jet.sql.impl.schema.JetTable)

Aggregations

HazelcastRelOptTable (com.hazelcast.jet.sql.impl.schema.HazelcastRelOptTable)1 JetTable (com.hazelcast.jet.sql.impl.schema.JetTable)1