@Override public Void visitCall(RexCall call) { if (call.getOperator() == RexBuilder.GET_OPERATOR) { throw Util.FoundOne.NULL; } return super.visitCall(call); } });
public Void visitCall(RexCall call) { if (preserve(call)) { return null; } super.visitCall(call); return null; }
public Void visitCall(RexCall call) { if (preserve(call)) { return null; } super.visitCall(call); return null; }
@Override public Void visitCall(RexCall call) { if (call.getOperator() == RexBuilder.GET_OPERATOR) { throw Util.FoundOne.NULL; } return super.visitCall(call); } });
public Void visitCall(RexCall call) { CallConvertlet convertlet = convertletMap.get(call.getOperator()); if (convertlet == null) { failed = true; return null; } // visit operands first super.visitCall(call); convertlet.convert(call); return null; }
public Void visitCall(RexCall call) { CallConvertlet convertlet = convertletMap.get(call.getOperator()); if (convertlet == null) { failed = true; return null; } // visit operands first super.visitCall(call); convertlet.convert(call); return null; }
public Void visitCall(RexCall call) { if (call.getOperator().equals(operator)) { throw new Util.FoundOne(call); } return super.visitCall(call); } };
public Void visitCall(RexCall call) { if (call.getOperator().equals(operator)) { throw new Util.FoundOne(call); } return super.visitCall(call); } };
public Void visitCall(RexCall call) { ++totalCount; if (MULTISET_OPERATORS.contains(call.getOperator())) { if (!call.getOperator().equals(SqlStdOperatorTable.CAST) || isMultisetCast(call)) { ++multisetCount; } } return super.visitCall(call); } }
@Override public Void visitCall(RexCall call) { if (call.getOperator() == RexBuilder.GET_OPERATOR) { RexLiteral literal = (RexLiteral) call.getOperands().get(1); extraFields.add( new RelDataTypeFieldImpl( (String) literal.getValue2(), -1, call.getType())); } return super.visitCall(call); } }
@Override public Void visitCall(RexCall call) { if (call.getOperator() == RexBuilder.GET_OPERATOR) { RexLiteral literal = (RexLiteral) call.getOperands().get(1); extraFields.add( new RelDataTypeFieldImpl( (String) literal.getValue2(), -1, call.getType())); } return super.visitCall(call); } }
public Void visitCall(RexCall call) { ++totalCount; if (multisetOperators.contains(call.getOperator())) { if (!call.getOperator().equals(SqlStdOperatorTable.castFunc) || isMultisetCast(call)) { ++multisetCount; } } return super.visitCall(call); } }
public R visitOver(RexOver over) { R r = visitCall(over); if (!deep) { return null; } final RexWindow window = over.getWindow(); for (RexFieldCollation orderKey : window.orderKeys) { orderKey.left.accept(this); } for (RexNode partitionKey : window.partitionKeys) { partitionKey.accept(this); } return r; }
public R visitOver(RexOver over) { R r = visitCall(over); if (!deep) { return null; } final RexWindow window = over.getWindow(); for (RexFieldCollation orderKey : window.orderKeys) { orderKey.left.accept(this); } for (RexNode partitionKey : window.partitionKeys) { partitionKey.accept(this); } window.getLowerBound().accept(this); window.getUpperBound().accept(this); return r; }
super.visitCall(call);