public final class MemoryQueryResult extends Object implements QueryResult
| 构造器和说明 |
|---|
MemoryQueryResult(ResultSet resultSet) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 MemoryQueryResult(ResultSet resultSet) throws SQLException
SQLExceptionpublic boolean next()
QueryResultnext 在接口中 QueryResultpublic Object getValue(int columnIndex, Class<?> type)
QueryResultgetValue 在接口中 QueryResultcolumnIndex - column indextype - class type of data valuepublic Object getValue(String columnLabel, Class<?> type)
QueryResultgetValue 在接口中 QueryResultcolumnLabel - column labeltype - class type of data valuepublic Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar)
QueryResultgetCalendarValue 在接口中 QueryResultcolumnIndex - column indextype - class type of data valuecalendar - calendarpublic Object getCalendarValue(String columnLabel, Class<?> type, Calendar calendar)
QueryResultgetCalendarValue 在接口中 QueryResultcolumnLabel - column labeltype - class type of data valuecalendar - calendarpublic InputStream getInputStream(int columnIndex, String type)
QueryResultgetInputStream 在接口中 QueryResultcolumnIndex - column indextype - class type of data valuepublic InputStream getInputStream(String columnLabel, String type)
QueryResultgetInputStream 在接口中 QueryResultcolumnLabel - column labeltype - class type of data valuepublic boolean wasNull()
QueryResultwasNull 在接口中 QueryResultpublic int getColumnCount()
QueryResultgetColumnCount 在接口中 QueryResultpublic String getColumnLabel(int columnIndex) throws SQLException
QueryResultgetColumnLabel 在接口中 QueryResultcolumnIndex - column indexSQLException - SQL ExceptionCopyright © 2019. All rights reserved.