AbstractSingleNode(Compiler compiler, T rel) { this.rel = rel; this.source = compiler.source(rel, 0); this.sink = compiler.sink(rel); } }
AbstractSingleNode(Compiler compiler, T rel) { this.rel = rel; this.source = compiler.source(rel, 0); this.sink = compiler.sink(rel); } }
public UnionNode(Compiler compiler, Union rel) { ImmutableList.Builder<Source> builder = ImmutableList.builder(); for (int i = 0; i < rel.getInputs().size(); i++) { builder.add(compiler.source(rel, i)); } this.sources = builder.build(); this.sink = compiler.sink(rel); this.rel = rel; }
public UnionNode(Compiler compiler, Union rel) { ImmutableList.Builder<Source> builder = ImmutableList.builder(); for (int i = 0; i < rel.getInputs().size(); i++) { builder.add(compiler.source(rel, i)); } this.sources = builder.build(); this.sink = compiler.sink(rel); this.rel = rel; }
public JoinNode(Compiler compiler, Join rel) { this.leftSource = compiler.source(rel, 0); this.rightSource = compiler.source(rel, 1); this.sink = compiler.sink(rel); this.condition = compiler.compile(ImmutableList.of(rel.getCondition()), compiler.combinedRowType(rel.getInputs())); this.rel = rel; this.context = compiler.createContext(); }
public JoinNode(Compiler compiler, Join rel) { this.leftSource = compiler.source(rel, 0); this.rightSource = compiler.source(rel, 1); this.sink = compiler.sink(rel); this.condition = compiler.compile(ImmutableList.of(rel.getCondition()), compiler.combinedRowType(rel.getInputs())); this.rel = rel; this.context = compiler.createContext(); }