public final class VertxQueryResult extends Object implements QueryResult
| Constructor and Description |
|---|
VertxQueryResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close.
|
Object |
getCalendarValue(int columnIndex,
Class<?> type,
Calendar calendar)
Get calendar value.
|
InputStream |
getInputStream(int columnIndex,
String type)
Get input stream.
|
QueryResultMetaData |
getMetaData()
Get query result meta data.
|
Object |
getValue(int columnIndex,
Class<?> type)
Get data value.
|
boolean |
next()
Iterate next data.
|
boolean |
wasNull()
Judge result set 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 getCalendarValue(int columnIndex, Class<?> type, Calendar calendar)
QueryResultgetCalendarValue in interface QueryResultcolumnIndex - column indextype - class type of data valuecalendar - calendarpublic InputStream getInputStream(int columnIndex, String type)
QueryResultgetInputStream in interface QueryResultcolumnIndex - column indextype - class type of data valuepublic boolean wasNull()
QueryResultwasNull in interface QueryResultpublic QueryResultMetaData getMetaData()
QueryResultgetMetaData in interface QueryResultpublic void close()
throws SQLException
QueryResultclose in interface QueryResultSQLException - SQL exceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.