Interface SqlRowSet

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      booleanabsolute​(int row)
      Move the cursor to the given row number in the row set, just after the last row.
      voidafterLast()
      Move the cursor to the end of this row set.
      voidbeforeFirst()
      Move the cursor to the front of this row set, just before the first row.
      intfindColumn​(String columnLabel)
      Map the given column label to its column index.
      booleanfirst()
      Move the cursor to the first row of this row set.
      BigDecimalgetBigDecimal​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a BigDecimal object.
      BigDecimalgetBigDecimal​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a BigDecimal object.
      booleangetBoolean​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a boolean.
      booleangetBoolean​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a boolean.
      bytegetByte​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a byte.
      bytegetByte​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a byte.
      DategetDate​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a Date object.
      DategetDate​(int columnIndex, Calendar cal)
      Retrieve the value of the indicated column in the current row as a Date object.
      DategetDate​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a Date object.
      DategetDate​(String columnLabel, Calendar cal)
      Retrieve the value of the indicated column in the current row as a Date object.
      doublegetDouble​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a Double object.
      doublegetDouble​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a Double object.
      floatgetFloat​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a float.
      floatgetFloat​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a float.
      intgetInt​(int columnIndex)
      Retrieve the value of the indicated column in the current row as an int.
      intgetInt​(String columnLabel)
      Retrieve the value of the indicated column in the current row as an int.
      longgetLong​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a long.
      longgetLong​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a long.
      SqlRowSetMetaDatagetMetaData()
      Retrieve the meta-data, i.e.
      StringgetNString​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).
      StringgetNString​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).
      ObjectgetObject​(int columnIndex)
      Retrieve the value of the indicated column in the current row as an Object.
      <T> TgetObject​(int columnIndex, Class<T> type)
      Retrieve the value of the indicated column in the current row as an Object.
      ObjectgetObject​(int columnIndex, Map<String,​Class<?>> map)
      Retrieve the value of the indicated column in the current row as an Object.
      ObjectgetObject​(String columnLabel)
      Retrieve the value of the indicated column in the current row as an Object.
      <T> TgetObject​(String columnLabel, Class<T> type)
      Retrieve the value of the indicated column in the current row as an Object.
      ObjectgetObject​(String columnLabel, Map<String,​Class<?>> map)
      Retrieve the value of the indicated column in the current row as an Object.
      intgetRow()
      Retrieve the current row number.
      shortgetShort​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a short.
      shortgetShort​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a short.
      StringgetString​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a String.
      StringgetString​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a String.
      TimegetTime​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a Time object.
      TimegetTime​(int columnIndex, Calendar cal)
      Retrieve the value of the indicated column in the current row as a Time object.
      TimegetTime​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a Time object.
      TimegetTime​(String columnLabel, Calendar cal)
      Retrieve the value of the indicated column in the current row as a Time object.
      TimestampgetTimestamp​(int columnIndex)
      Retrieve the value of the indicated column in the current row as a Timestamp object.
      TimestampgetTimestamp​(int columnIndex, Calendar cal)
      Retrieve the value of the indicated column in the current row as a Timestamp object.
      TimestampgetTimestamp​(String columnLabel)
      Retrieve the value of the indicated column in the current row as a Timestamp object.
      TimestampgetTimestamp​(String columnLabel, Calendar cal)
      Retrieve the value of the indicated column in the current row as a Timestamp object.
      booleanisAfterLast()
      Retrieve whether the cursor is after the last row of this row set.
      booleanisBeforeFirst()
      Retrieve whether the cursor is before the first row of this row set.
      booleanisFirst()
      Retrieve whether the cursor is on the first row of this row set.
      booleanisLast()
      Retrieve whether the cursor is on the last row of this row set.
      booleanlast()
      Move the cursor to the last row of this row set.
      booleannext()
      Move the cursor to the next row.
      booleanprevious()
      Move the cursor to the previous row.
      booleanrelative​(int rows)
      Move the cursor a relative number of rows, either positive or negative.
      booleanwasNull()
      Report whether the last column read had a value of SQL NULL.