Lines Matching refs:columnIndex

219     public String getString(int columnIndex) throws SQLException {
220 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
221 throw new SQLException("column " + columnIndex + " not found");
224 lastg = rd[columnIndex - 1];
233 public int getInt(int columnIndex) throws SQLException {
234 Integer i = internalGetInt(columnIndex);
241 private Integer internalGetInt(int columnIndex) throws SQLException {
242 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
243 throw new SQLException("column " + columnIndex + " not found");
246 lastg = rd[columnIndex - 1];
260 public boolean getBoolean(int columnIndex) throws SQLException {
261 return getInt(columnIndex) == 1 ||
262 Boolean.parseBoolean(getString(columnIndex));
277 public short getShort(int columnIndex) throws SQLException {
278 Short sh = internalGetShort(columnIndex);
285 private Short internalGetShort(int columnIndex) throws SQLException {
286 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
287 throw new SQLException("column " + columnIndex + " not found");
290 lastg = rd[columnIndex - 1];
304 public java.sql.Time getTime(int columnIndex) throws SQLException {
305 return internalGetTime(columnIndex, null);
308 private java.sql.Time internalGetTime(int columnIndex,
311 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
312 throw new SQLException("column " + columnIndex + " not found");
315 lastg = rd[columnIndex - 1];
341 public java.sql.Time getTime(int columnIndex, java.util.Calendar cal)
343 return internalGetTime(columnIndex, cal);
352 public java.sql.Timestamp getTimestamp(int columnIndex)
354 return internalGetTimestamp(columnIndex, null);
357 private java.sql.Timestamp internalGetTimestamp(int columnIndex,
360 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
361 throw new SQLException("column " + columnIndex + " not found");
364 lastg = rd[columnIndex - 1];
391 public java.sql.Timestamp getTimestamp(int columnIndex,
394 return internalGetTimestamp(columnIndex, cal);
404 public java.sql.Date getDate(int columnIndex) throws SQLException {
405 return internalGetDate(columnIndex, null);
408 private java.sql.Date internalGetDate(int columnIndex,
411 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
412 throw new SQLException("column " + columnIndex + " not found");
415 lastg = rd[columnIndex - 1];
441 public java.sql.Date getDate(int columnIndex, java.util.Calendar cal)
443 return internalGetDate(columnIndex, cal);
452 public double getDouble(int columnIndex) throws SQLException {
453 Double d = internalGetDouble(columnIndex);
460 private Double internalGetDouble(int columnIndex) throws SQLException {
461 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
462 throw new SQLException("column " + columnIndex + " not found");
465 lastg = rd[columnIndex - 1];
479 public float getFloat(int columnIndex) throws SQLException {
480 Float f = internalGetFloat(columnIndex);
487 private Float internalGetFloat(int columnIndex) throws SQLException {
488 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
489 throw new SQLException("column " + columnIndex + " not found");
492 lastg = rd[columnIndex - 1];
506 public long getLong(int columnIndex) throws SQLException {
507 Long l = internalGetLong(columnIndex);
514 private Long internalGetLong(int columnIndex) throws SQLException {
515 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
516 throw new SQLException("column " + columnIndex + " not found");
519 lastg = rd[columnIndex - 1];
534 public java.io.InputStream getUnicodeStream(int columnIndex)
552 public java.io.InputStream getAsciiStream(int columnIndex)
570 public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
575 public BigDecimal getBigDecimal(int columnIndex, int scale)
580 public java.io.InputStream getBinaryStream(int columnIndex)
582 byte data[] = getBytes(columnIndex);
598 public byte getByte(int columnIndex) throws SQLException {
607 public byte[] getBytes(int columnIndex) throws SQLException {
608 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
609 throw new SQLException("column " + columnIndex + " not found");
613 lastg = rd[columnIndex - 1];
629 public Object getObject(int columnIndex) throws SQLException {
630 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
631 throw new SQLException("column " + columnIndex + " not found");
634 lastg = rd[columnIndex - 1];
637 switch (((TableResultX) tr).sql_type[columnIndex - 1]) {
639 ret = internalGetShort(columnIndex);
642 ret = internalGetInt(columnIndex);
645 ret = internalGetDouble(columnIndex);
648 ret = internalGetFloat(columnIndex);
651 ret = internalGetLong(columnIndex);
656 ret = getBytes(columnIndex);
672 public Object getObject(int columnIndex, java.util.Map map)
683 public java.sql.Ref getRef(int columnIndex) throws SQLException {
692 public java.sql.Blob getBlob(int columnIndex) throws SQLException {
701 public java.sql.Clob getClob(int columnIndex) throws SQLException {
710 public java.sql.Array getArray(int columnIndex) throws SQLException {
719 public java.io.Reader getCharacterStream(int columnIndex)
721 String data = getString(columnIndex);