Lines Matching refs:colIndex
1001 public void updateNull(int colIndex) throws SQLException {
1003 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1004 throw new SQLException("column " + colIndex + " not found");
1007 rowbuf[colIndex - 1] = null;
1010 public void updateBoolean(int colIndex, boolean b) throws SQLException {
1011 updateString(colIndex, b ? "1" : "0");
1014 public void updateByte(int colIndex, byte b) throws SQLException {
1018 public void updateShort(int colIndex, short b) throws SQLException {
1020 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1021 throw new SQLException("column " + colIndex + " not found");
1024 rowbuf[colIndex - 1] = Short.toString(b);
1027 public void updateInt(int colIndex, int b) throws SQLException {
1029 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1030 throw new SQLException("column " + colIndex + " not found");
1033 rowbuf[colIndex - 1] = Integer.toString(b);
1036 public void updateLong(int colIndex, long b) throws SQLException {
1038 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1039 throw new SQLException("column " + colIndex + " not found");
1042 rowbuf[colIndex - 1] = Long.toString(b);
1045 public void updateFloat(int colIndex, float f) throws SQLException {
1047 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1048 throw new SQLException("column " + colIndex + " not found");
1051 rowbuf[colIndex - 1] = Float.toString(f);
1054 public void updateDouble(int colIndex, double f) throws SQLException {
1056 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1057 throw new SQLException("column " + colIndex + " not found");
1060 rowbuf[colIndex - 1] = Double.toString(f);
1063 public void updateBigDecimal(int colIndex, BigDecimal f)
1068 public void updateString(int colIndex, String s) throws SQLException {
1070 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1071 throw new SQLException("column " + colIndex + " not found");
1074 rowbuf[colIndex - 1] = s;
1077 public void updateBytes(int colIndex, byte[] s) throws SQLException {
1079 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1080 throw new SQLException("column " + colIndex + " not found");
1084 rowbuf[colIndex - 1] = SQLite.StringEncoder.encodeX(s);
1086 rowbuf[colIndex - 1] = SQLite.StringEncoder.encode(s);
1090 public void updateDate(int colIndex, java.sql.Date d) throws SQLException {
1092 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1093 throw new SQLException("column " + colIndex + " not found");
1096 rowbuf[colIndex - 1] = d.toString();
1099 public void updateTime(int colIndex, java.sql.Time t) throws SQLException {
1101 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1102 throw new SQLException("column " + colIndex + " not found");
1105 rowbuf[colIndex - 1] = t.toString();
1108 public void updateTimestamp(int colIndex, java.sql.Timestamp t)
1111 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1112 throw new SQLException("column " + colIndex + " not found");
1115 rowbuf[colIndex - 1] = t.toString();
1118 public void updateAsciiStream(int colIndex, java.io.InputStream in, int s)
1123 public void updateBinaryStream(int colIndex, java.io.InputStream in, int s)
1128 public void updateCharacterStream(int colIndex, java.io.Reader in, int s)
1133 public void updateObject(int colIndex, Object obj) throws SQLException {
1134 updateString(colIndex, obj.toString());
1137 public void updateObject(int colIndex, Object obj, int s)
1139 updateString(colIndex, obj.toString());
1265 public java.net.URL getURL(int colIndex) throws SQLException {
1266 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1267 throw new SQLException("column " + colIndex + " not found");
1270 lastg = rd[colIndex - 1];
1288 public void updateRef(int colIndex, java.sql.Ref x) throws SQLException {
1298 public void updateBlob(int colIndex, java.sql.Blob x)
1309 public void updateClob(int colIndex, java.sql.Clob x)
1320 public void updateArray(int colIndex, java.sql.Array x)
1331 public RowId getRowId(int colIndex) throws SQLException {
1340 public void updateRowId(int colIndex, RowId x) throws SQLException {
1357 public void updateNString(int colIndex, String nString)
1368 public void updateNClob(int colIndex, NClob nclob)
1379 public NClob getNClob(int colIndex) throws SQLException {
1388 public SQLXML getSQLXML(int colIndex) throws SQLException {
1397 public void updateSQLXML(int colIndex, SQLXML xml)
1408 public String getNString(int colIndex) throws SQLException {
1417 public java.io.Reader getNCharacterStream(int colIndex)
1428 public void updateNCharacterStream(int colIndex, java.io.Reader x,
1441 public void updateAsciiStream(int colIndex, java.io.InputStream x,
1454 public void updateBinaryStream(int colIndex, java.io.InputStream x,
1467 public void updateCharacterStream(int colIndex, java.io.Reader x,
1480 public void updateBlob(int colIndex, java.io.InputStream x,
1493 public void updateClob(int colIndex, java.io.Reader x,
1506 public void updateNClob(int colIndex, java.io.Reader x,
1519 public void updateNCharacterStream(int colIndex, java.io.Reader x)
1530 public void updateAsciiStream(int colIndex, java.io.InputStream x)
1541 public void updateBinaryStream(int colIndex, java.io.InputStream x)
1552 public void updateCharacterStream(int colIndex, java.io.Reader x)
1563 public void updateBlob(int colIndex, java.io.InputStream x)
1574 public void updateClob(int colIndex, java.io.Reader x)
1585 public void updateNClob(int colIndex, java.io.Reader x)