public interface QueryResult
Modifier and Type | Method and Description |
---|---|
Object |
getCalendarValue(int columnIndex,
Class<?> type,
Calendar calendar)
Get calendar value.
|
Object |
getCalendarValue(String columnLabel,
Class<?> type,
Calendar calendar)
Get calendar value.
|
int |
getColumnCount()
Get column count.
|
String |
getColumnLabel(int columnIndex)
Get column label.
|
InputStream |
getInputStream(int columnIndex,
String type)
Get InputStream.
|
InputStream |
getInputStream(String columnLabel,
String type)
Get InputStream.
|
Object |
getValue(int columnIndex,
Class<?> type)
Get data value.
|
Object |
getValue(String columnLabel,
Class<?> type)
Get data value.
|
boolean |
next()
iterate next data.
|
boolean |
wasNull()
Adjust ResultSet is null or not.
|
boolean next() throws SQLException
SQLException
- SQL Exceptionint getColumnCount() throws SQLException
SQLException
- SQL ExceptionString getColumnLabel(int columnIndex) throws SQLException
columnIndex
- column indexSQLException
- SQL ExceptionObject getValue(int columnIndex, Class<?> type) throws SQLException
columnIndex
- column indextype
- class type of data valueSQLException
- SQL ExceptionObject getValue(String columnLabel, Class<?> type) throws SQLException
columnLabel
- column labeltype
- class type of data valueSQLException
- SQL ExceptionObject getCalendarValue(int columnIndex, Class<?> type, Calendar calendar) throws SQLException
columnIndex
- column indextype
- class type of data valuecalendar
- calendarSQLException
- SQL ExceptionObject getCalendarValue(String columnLabel, Class<?> type, Calendar calendar) throws SQLException
columnLabel
- column labeltype
- class type of data valuecalendar
- calendarSQLException
- SQL ExceptionInputStream getInputStream(int columnIndex, String type) throws SQLException
columnIndex
- column indextype
- class type of data valueSQLException
- SQL ExceptionInputStream getInputStream(String columnLabel, String type) throws SQLException
columnLabel
- column labeltype
- class type of data valueSQLException
- SQL Exceptionboolean wasNull() throws SQLException
SQLException
- SQL ExceptionCopyright © 2018. All rights reserved.