final String correlationName; if (e instanceof RexCorrelVariable) { correlationName = ((RexCorrelVariable) e).getName(); } else { correlationName = null;
/** * Creates an expression referencing a correlation variable. * * @param type Type of variable * @param name Name of variable * @return Correlation variable */ public RexNode makeCorrel( RelDataType type, String name) { return new RexCorrelVariable(name, type); }
public RexNode visitCorrelVariable(RexCorrelVariable p) { variables.add(p.getName()); return p; } }
public RexCorrelVariable clone() { return new RexCorrelVariable(name, type); }
public Void visitCorrelVariable( RexCorrelVariable correlVariable) { paramIdSet.add(correlVariable.getName()); return null; } },
/** * Creates an expression referencing a correlation variable. * * @param type Type of variable * @param name Name of variable * * @return Correlation variable */ public RexNode makeCorrel( RelDataType type, String name) { return new RexCorrelVariable(name, type); }
public Void visitCorrelVariable( RexCorrelVariable correlVariable) { paramIdSet.add(correlVariable.getName()); return null; } },
public RexNode visitCorrelVariable(RexCorrelVariable p) { variables.add(p.getName()); return p; } }
case CORREL_VARIABLE: map = jsonBuilder.map(); map.put("correl", ((RexCorrelVariable) node).getName()); map.put("type", toJson(node.getType())); return map;
final String correlationName; if (e instanceof RexCorrelVariable) { correlationName = ((RexCorrelVariable) e).getName(); } else { correlationName = null;
final String correlationName; if (e instanceof RexCorrelVariable) { correlationName = ((RexCorrelVariable) e).getName(); } else { correlationName = null;