Sets the designated parameter to the given Reader object.
514841
@Override
    public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException
    {
        checkParameterBounds(parameterIndex);
        throw SQLError.noSupport();
    }
794457
void setParameter(String name, Object value) throws Exception
  {
    logger.debug("public void setParameter");

    try
    {
      if (this.sfStatement != null)
      {
        this.sfStatement.addProperty(name, value);
      }
    }
    catch (SFException ex)
    {
      throw new SnowflakeSQLException(ex);
    }
  }
513297
public void setObject( String parameterName, Object value )
            throws OdaException
    {
        // only applies to named input parameter
		parameters.put(parameterName, value);
    }
1105549
public AbstractSqlCreator setParameter(String name, Object value) {
        ppsc.setParameter(name, value);
        return this;
    }
890060
@Override
    public Query setParameter(String name, Object value)
    {
        kunderaQuery.setParameter(name, value);
        return this;
    }
140237
@Override
    public void setParameter(Map<String, String> paraMap) {
        if (paraMap.containsKey("k")) {
            this.k = Integer.parseInt(paraMap.get("k"));
        }
        if (paraMap.containsKey("mode")) {
            this.mode = Integer.parseInt(paraMap.get("mode"));
        }
    }
957607
def set_parameter(self, name, value):
        
        i = self.get_parameter_names(include_frozen=True).index(name)
        v = self.get_parameter_vector(include_frozen=True)
        v[i] = value
        self.set_parameter_vector(v, include_frozen=True)
356615
@Override
	public SqlContext clobParam(final String paramName, final Reader value) {
		return param(new ReaderParameter(paramName, value));
	}
771948
@Override
    public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException
    {
        checkParameterBounds(parameterIndex);
        throw SQLError.noSupport();
    }
592633
public void setParam(String type, String file, String fileName, String name, String value, String disposition, String contentID, Boolean oRemoveAfterSend)
	    throws PageException {
	if (file != null) {
	    boolean removeAfterSend = (oRemoveAfterSend == null) ? remove : oRemoveAfterSend.booleanValue();

	    setMimeattach(file, fileName, type, disposition, contentID, removeAfterSend);
	}
	else {
	    if (name.equalsIgnoreCase("bcc")) setBcc(value);
	    else if (name.equalsIgnoreCase("cc")) setCc(value);
	    else if (name.equalsIgnoreCase("charset")) setCharset(CharsetUtil.toCharset(value, null));
	    else if (name.equalsIgnoreCase("failto")) setFailto(value);
	    else if (name.equalsIgnoreCase("from")) setFrom(value);
	    else if (name.equalsIgnoreCase("mailerid")) setMailerid(value);
	    else if (name.equalsIgnoreCase("mimeattach")) setMimeattach(value);
	    else if (name.equalsIgnoreCase("priority")) setPriority(value);
	    else if (name.equalsIgnoreCase("replyto")) setReplyto(value);
	    else if (name.equalsIgnoreCase("subject")) setSubject(value);
	    else if (name.equalsIgnoreCase("to")) setTo(value);

	    else smtp.addHeader(name, value);
	}
    }
327329
def set_parameter(self, name, value):
        
        if not self._in_valid_interval(name, value):
            raise ValueError(self._get_value_error_message_for_invalid_prarameter(name, value))

        #if name in self._parameters:
        #    print "Parameter %s already existed. It's old value will be replaced with %s" % (name, value)

        self._parameters[name] = value
1161109
def _set_stream_parameters(self, **kwargs):
        
        with util.disable_constant(self):
            self.param.set_param(**kwargs)
673864
def bind(self, fn: "Callable[[Any], Reader]") -> 'Reader':
        
        """
        return Reader(lambda x: fn(self.run(x)).run(x))
563449
public void setInput(Reader input, boolean close)
	{
		if (r != null)
			reset();
		r = input;
		closeReader = close;
	}
766777
public void setParameter(final int parameterIndex, final ParameterHolder holder)
      throws SQLException {
    if (parameterIndex >= 1 && parameterIndex < prepareResult.getParamCount() + 1) {
      parameters[parameterIndex - 1] = holder;
    } else {
      String error = "Could not set parameter at position " + parameterIndex
          + " (values was " + holder.toString() + ")\n"
          + "Query - conn:" + protocol.getServerThreadId()
          + "(" + (protocol.isMasterConnection() ? "M" : "S") + ") ";

      if (options.maxQuerySizeToLog > 0) {
        error += " - \"";
        if (sqlQuery.length() < options.maxQuerySizeToLog) {
          error += sqlQuery;
        } else {
          error += sqlQuery.substring(0, options.maxQuerySizeToLog) + "...";
        }
        error += "\"";
      } else {
        error += " - \"" + sqlQuery + "\"";
      }

      logger.error(error);
      throw ExceptionMapper.getSqlException(error);
    }
  }
1333670
def addReader(self, reader):
        
        self._add(reader, self._reads, QtCore.QSocketNotifier.Read)
72872
@Override
	public void setInput(Reader reader) {
		this.reader = reader;

		type = START_DOCUMENT;
		name = null;
		namespace = null;
		degenerated = false;
		attributeCount = -1;
		encoding = null;
		version = null;
		standalone = null;

		if (reader == null) {
			return;
		}

		position = 0;
		limit = 0;
		bufferStartLine = 0;
		bufferStartColumn = 0;
		depth = 0;
		documentEntities = null;
	}