public final class JDBCQueryResult extends Object implements QueryResult
| Constructor and Description |
|---|
JDBCQueryResult() |
| 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.
|
public boolean next()
throws SQLException
QueryResultnext in interface QueryResultSQLException - SQL Exceptionpublic Object getValue(int columnIndex, Class<?> type) throws SQLException
QueryResultgetValue in interface QueryResultcolumnIndex - column indextype - class type of data valueSQLException - SQL Exceptionpublic Object getValue(String columnLabel, Class<?> type) throws SQLException
QueryResultgetValue in interface QueryResultcolumnLabel - column labeltype - class type of data valueSQLException - SQL Exceptionpublic Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar) throws SQLException
QueryResultgetCalendarValue in interface QueryResultcolumnIndex - column indextype - class type of data valuecalendar - calendarSQLException - SQL Exceptionpublic Object getCalendarValue(String columnLabel, Class<?> type, Calendar calendar) throws SQLException
QueryResultgetCalendarValue in interface QueryResultcolumnLabel - column labeltype - class type of data valuecalendar - calendarSQLException - SQL Exceptionpublic InputStream getInputStream(int columnIndex, String type) throws SQLException
QueryResultgetInputStream in interface QueryResultcolumnIndex - column indextype - class type of data valueSQLException - SQL Exceptionpublic InputStream getInputStream(String columnLabel, String type) throws SQLException
QueryResultgetInputStream in interface QueryResultcolumnLabel - column labeltype - class type of data valueSQLException - SQL Exceptionpublic boolean wasNull()
throws SQLException
QueryResultwasNull in interface QueryResultSQLException - SQL Exceptionpublic int getColumnCount()
throws SQLException
QueryResultgetColumnCount in interface QueryResultSQLException - SQL Exceptionpublic String getColumnLabel(int columnIndex) throws SQLException
QueryResultgetColumnLabel in interface QueryResultcolumnIndex - column indexSQLException - SQL ExceptionCopyright © 2018. All rights reserved.