Class VertxQueryResult
java.lang.Object
org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.vertx.VertxQueryResult
- All Implemented Interfaces:
ExecuteResult,QueryResult
Vert.x query result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close.getCalendarValue(int columnIndex, Class<?> type, Calendar calendar) Get calendar value.getInputStream(int columnIndex, String type) Get input stream.Get query result meta data.Get data value.booleannext()Iterate next data.booleanwasNull()Judge result set is null or not.
-
Constructor Details
-
VertxQueryResult
public VertxQueryResult()
-
-
Method Details
-
next
Description copied from interface:QueryResultIterate next data.- Specified by:
nextin interfaceQueryResult- Returns:
- has next data
- Throws:
SQLException- SQL exception
-
getValue
Description copied from interface:QueryResultGet data value.- Specified by:
getValuein interfaceQueryResult- Parameters:
columnIndex- column indextype- class type of data value- Returns:
- data value
- Throws:
SQLException- SQL exception
-
getCalendarValue
Description copied from interface:QueryResultGet calendar value.- Specified by:
getCalendarValuein interfaceQueryResult- Parameters:
columnIndex- column indextype- class type of data valuecalendar- calendar- Returns:
- calendar value
-
getInputStream
Description copied from interface:QueryResultGet input stream.- Specified by:
getInputStreamin interfaceQueryResult- Parameters:
columnIndex- column indextype- class type of data value- Returns:
- input stream
-
wasNull
public boolean wasNull()Description copied from interface:QueryResultJudge result set is null or not.- Specified by:
wasNullin interfaceQueryResult- Returns:
- result set is null or not
-
getMetaData
Description copied from interface:QueryResultGet query result meta data.- Specified by:
getMetaDatain interfaceQueryResult- Returns:
- query result meta data
-
close
Description copied from interface:QueryResultClose.- Specified by:
closein interfaceQueryResult- Throws:
SQLException- SQL exception
-