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