declare namespace org { namespace springframework { namespace jdbc { namespace support { namespace rowset { /** * Mirror interface for {@link javax.sql.RowSet}, representing a disconnected variant of * {@link java.sql.ResultSet} data. *
The main difference to the standard JDBC RowSet is that a {@link java.sql.SQLException} * is never thrown here. This allows an SqlRowSet to be used without having to deal with * checked exceptions. An SqlRowSet will throw Spring's {@link InvalidResultSetAccessException} * instead (when appropriate). *
Note: This interface extends the {@code java.io.Serializable} marker interface.
* Implementations, which typically hold disconnected data, are encouraged to be actually
* serializable (as far as possible).
* @author Thomas Risberg
* @author Juergen Hoeller
* @since 1.2
* @see javax.sql.RowSet
* @see java.sql.ResultSet
* @see org.springframework.jdbc.InvalidResultSetAccessException
* @see org.springframework.jdbc.core.JdbcTemplate#queryForRowSet
*/
// @ts-ignore
interface SqlRowSet extends java.io.Serializable {
/**
* Retrieve the meta-data, i.e. number, types and properties
* for the columns of this row set.
* @return a corresponding SqlRowSetMetaData instance
* @see java.sql.ResultSet#getMetaData()
*/
// @ts-ignore
getMetaData(): org.springframework.jdbc.support.rowset.SqlRowSetMetaData
/**
* Map the given column label to its column index.
* @param columnLabel the name of the column
* @return the column index for the given column label
* @see java.sql.ResultSet#findColumn(String)
*/
// @ts-ignore
findColumn(columnLabel: java.lang.String | string): number /*int*/
/**
* Retrieve the value of the indicated column in the current row as a BigDecimal object.
* @param columnIndex the column index
* @return an BigDecimal object representing the column value
* @see java.sql.ResultSet#getBigDecimal(int)
*/
// @ts-ignore
getBigDecimal(columnIndex: number /*int*/): java.math.BigDecimal
/**
* Retrieve the value of the indicated column in the current row as a BigDecimal object.
* @param columnLabel the column label
* @return an BigDecimal object representing the column value
* @see java.sql.ResultSet#getBigDecimal(String)
*/
// @ts-ignore
getBigDecimal(columnLabel: java.lang.String | string): java.math.BigDecimal
/**
* Retrieve the value of the indicated column in the current row as a boolean.
* @param columnIndex the column index
* @return a boolean representing the column value
* @see java.sql.ResultSet#getBoolean(int)
*/
// @ts-ignore
getBoolean(columnIndex: number /*int*/): boolean
/**
* Retrieve the value of the indicated column in the current row as a boolean.
* @param columnLabel the column label
* @return a boolean representing the column value
* @see java.sql.ResultSet#getBoolean(String)
*/
// @ts-ignore
getBoolean(columnLabel: java.lang.String | string): boolean
/**
* Retrieve the value of the indicated column in the current row as a byte.
* @param columnIndex the column index
* @return a byte representing the column value
* @see java.sql.ResultSet#getByte(int)
*/
// @ts-ignore
getByte(columnIndex: number /*int*/): number /*byte*/
/**
* Retrieve the value of the indicated column in the current row as a byte.
* @param columnLabel the column label
* @return a byte representing the column value
* @see java.sql.ResultSet#getByte(String)
*/
// @ts-ignore
getByte(columnLabel: java.lang.String | string): number /*byte*/
/**
* Retrieve the value of the indicated column in the current row as a Date object.
* @param columnIndex the column index
* @return a Date object representing the column value
* @see java.sql.ResultSet#getDate(int)
*/
// @ts-ignore
getDate(columnIndex: number /*int*/): java.sql.Date
/**
* Retrieve the value of the indicated column in the current row as a Date object.
* @param columnLabel the column label
* @return a Date object representing the column value
* @see java.sql.ResultSet#getDate(String)
*/
// @ts-ignore
getDate(columnLabel: java.lang.String | string): java.sql.Date
/**
* Retrieve the value of the indicated column in the current row as a Date object.
* @param columnIndex the column index
* @param cal the Calendar to use in constructing the Date
* @return a Date object representing the column value
* @see java.sql.ResultSet#getDate(int, Calendar)
*/
// @ts-ignore
getDate(columnIndex: number /*int*/, cal: java.util.Calendar): java.sql.Date
/**
* Retrieve the value of the indicated column in the current row as a Date object.
* @param columnLabel the column label
* @param cal the Calendar to use in constructing the Date
* @return a Date object representing the column value
* @see java.sql.ResultSet#getDate(String, Calendar)
*/
// @ts-ignore
getDate(columnLabel: java.lang.String | string, cal: java.util.Calendar): java.sql.Date
/**
* Retrieve the value of the indicated column in the current row as a Double object.
* @param columnIndex the column index
* @return a Double object representing the column value
* @see java.sql.ResultSet#getDouble(int)
*/
// @ts-ignore
getDouble(columnIndex: number /*int*/): number /*double*/
/**
* Retrieve the value of the indicated column in the current row as a Double object.
* @param columnLabel the column label
* @return a Double object representing the column value
* @see java.sql.ResultSet#getDouble(String)
*/
// @ts-ignore
getDouble(columnLabel: java.lang.String | string): number /*double*/
/**
* Retrieve the value of the indicated column in the current row as a float.
* @param columnIndex the column index
* @return a float representing the column value
* @see java.sql.ResultSet#getFloat(int)
*/
// @ts-ignore
getFloat(columnIndex: number /*int*/): number /*float*/
/**
* Retrieve the value of the indicated column in the current row as a float.
* @param columnLabel the column label
* @return a float representing the column value
* @see java.sql.ResultSet#getFloat(String)
*/
// @ts-ignore
getFloat(columnLabel: java.lang.String | string): number /*float*/
/**
* Retrieve the value of the indicated column in the current row as an int.
* @param columnIndex the column index
* @return an int representing the column value
* @see java.sql.ResultSet#getInt(int)
*/
// @ts-ignore
getInt(columnIndex: number /*int*/): number /*int*/
/**
* Retrieve the value of the indicated column in the current row as an int.
* @param columnLabel the column label
* @return an int representing the column value
* @see java.sql.ResultSet#getInt(String)
*/
// @ts-ignore
getInt(columnLabel: java.lang.String | string): number /*int*/
/**
* Retrieve the value of the indicated column in the current row as a long.
* @param columnIndex the column index
* @return a long representing the column value
* @see java.sql.ResultSet#getLong(int)
*/
// @ts-ignore
getLong(columnIndex: number /*int*/): number /*long*/
/**
* Retrieve the value of the indicated column in the current row as a long.
* @param columnLabel the column label
* @return a long representing the column value
* @see java.sql.ResultSet#getLong(String)
*/
// @ts-ignore
getLong(columnLabel: java.lang.String | string): number /*long*/
/**
* Retrieve the value of the indicated column in the current row as a String
* (for NCHAR, NVARCHAR, LONGNVARCHAR columns).
* @param columnIndex the column index
* @return a String representing the column value
* @since 4.1.3
* @see java.sql.ResultSet#getNString(int)
*/
// @ts-ignore
getNString(columnIndex: number /*int*/): string
/**
* Retrieve the value of the indicated column in the current row as a String
* (for NCHAR, NVARCHAR, LONGNVARCHAR columns).
* @param columnLabel the column label
* @return a String representing the column value
* @since 4.1.3
* @see java.sql.ResultSet#getNString(String)
*/
// @ts-ignore
getNString(columnLabel: java.lang.String | string): string
/**
* Retrieve the value of the indicated column in the current row as an Object.
* @param columnIndex the column index
* @return a Object representing the column value
* @see java.sql.ResultSet#getObject(int)
*/
// @ts-ignore
getObject(columnIndex: number /*int*/): any
/**
* Retrieve the value of the indicated column in the current row as an Object.
* @param columnLabel the column label
* @return a Object representing the column value
* @see java.sql.ResultSet#getObject(String)
*/
// @ts-ignore
getObject(columnLabel: java.lang.String | string): any
/**
* Retrieve the value of the indicated column in the current row as an Object.
* @param columnIndex the column index
* @param map a Map object containing the mapping from SQL types to Java types
* @return a Object representing the column value
* @see java.sql.ResultSet#getObject(int, Map)
*/
// @ts-ignore
getObject(columnIndex: number /*int*/, map: java.util.Map Note that you must first call one of the getter methods and then
* call the {@code wasNull()} method.
* @return {#code true} if the most recent column retrieved was
* SQL {@code NULL}, {@code false} otherwise
* @see java.sql.ResultSet#wasNull()
*/
// @ts-ignore
wasNull(): boolean
}
}
}
}
}
}