- Common ways to obtain RelDecorrelator$Frame
private void myMethod () {RelDecorrelator$Frame r =
RelDecorrelator relDecorrelator;RelNode rel;RelBuilder relBuilder;Map oldToNewOutputs;SortedMap corDefOutputs;relDecorrelator.register(rel, relBuilder.build(), oldToNewOutputs, corDefOutputs)
ReflectUtil.MethodDispatcher reflectUtilMethodDispatcher;Object[] args;reflectUtilMethodDispatcher.invoke(args)
RelDecorrelator relDecorrelator;RelNode relNode;RelNode newRel;Map oldToNewOutputs;SortedMap corDefOutputs;relDecorrelator.register(relNode.getInput(int1), newRel, oldToNewOutputs, corDefOutputs)
- Smart code suggestions by Codota
}
/** Registers a relational expression and the relational expression it became * after decorrelation. */ Frame register(RelNode rel, RelNode newRel, Map<Integer, Integer> oldToNewOutputs, SortedMap<CorDef, Integer> corDefOutputs) { final Frame frame = new Frame(rel, newRel, corDefOutputs, oldToNewOutputs); map.put(rel, frame); return frame; }
/** Registers a relational expression and the relational expression it became * after decorrelation. */ Frame register(RelNode rel, RelNode newRel, Map<Integer, Integer> oldToNewOutputs, SortedMap<CorDef, Integer> corDefOutputs) { final Frame frame = new Frame(rel, newRel, corDefOutputs, oldToNewOutputs); map.put(rel, frame); return frame; }
/** Registers a relational expression and the relational expression it became * after decorrelation. */ Frame register(RelNode rel, RelNode newRel, Map<Integer, Integer> oldToNewOutputs, SortedMap<CorDef, Integer> corDefOutputs) { final Frame frame = new Frame(rel, newRel, corDefOutputs, oldToNewOutputs); map.put(rel, frame); return frame; }
private Frame getFrame(RelNode r, boolean safe) { final Frame frame = map.get(r); if (frame == null && safe) { return new Frame(r, r, ImmutableSortedMap.of(), identityMap(r.getRowType().getFieldCount())); } return frame; }
private Frame getFrame(RelNode r, boolean safe) { final Frame frame = map.get(r); if (frame == null && safe) { return new Frame(r, r, ImmutableSortedMap.of(), identityMap(r.getRowType().getFieldCount())); } return frame; }
private Frame getFrame(RelNode r, boolean safe) { final Frame frame = map.get(r); if (frame == null && safe) { return new Frame(r, r, ImmutableSortedMap.<CorDef, Integer>of(), identityMap(r.getRowType().getFieldCount())); } return frame; }