public class SQLOutputRowValueContext extends Object
SQLOutputRowConversion
, context of row conversion. Provides row number, column values after reading the row as well as
the result set itself for direct access.
Applications should not retain instances of this class as the engine may change and reuse values here.
Constructor and Description |
---|
SQLOutputRowValueContext() |
Modifier and Type | Method and Description |
---|---|
ResultSet |
getResultSet()
Returns the result set.
|
int |
getRowNum()
Return row number, the number of the current output row.
|
Map<String,Object> |
getValues()
Returns column values.
|
void |
setResultSet(ResultSet resultSet)
Sets the result set.
|
void |
setRowNum(int rowNum)
Set the row number.
|
void |
setValues(Map<String,Object> values)
Set column values.
|
public int getRowNum()
public void setRowNum(int rowNum)
rowNum
- row numberpublic Map<String,Object> getValues()
public void setValues(Map<String,Object> values)
values
- for all columnspublic void setResultSet(ResultSet resultSet)
resultSet
- to setpublic ResultSet getResultSet()