public RelDataType apply(RelDataTypeFactory typeFactory) { return typeFactory.copyType(protoType); } };
public RelDataType inferReturnType( SqlOperatorBinding opBinding) { if (type != null) { return opBinding.getTypeFactory().copyType(type); } return createType(opBinding.getTypeFactory()); }
public RexNode visitLiteral(RexLiteral literal) { return new RexLiteral( literal.getValue(), builder.getTypeFactory().copyType(literal.getType()), literal.getTypeName()); }
public RexNode visitLiteral(RexLiteral literal) { return new RexLiteral( literal.getValue(), builder.getTypeFactory().copyType(literal.getType()), literal.getTypeName()); }
public RexNode visitCall(final RexCall call) { return builder.makeCall( builder.getTypeFactory().copyType(call.getType()), call.getOperator(), visitList(call.getOperands(), null)); }
public RexNode visitCall(final RexCall call) { final boolean[] update = null; return builder.makeCall( builder.getTypeFactory().copyType(call.getType()), call.getOperator(), visitList(call.getOperands(), update)); }