java.lang.Object
org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.vertx.VertxQueryResult
All Implemented Interfaces:
ExecuteResult, QueryResult

public final class VertxQueryResult extends Object implements QueryResult
Vert.x query result.
  • Constructor Details

    • VertxQueryResult

      public VertxQueryResult()
  • Method Details

    • next

      public boolean next() throws SQLException
      Description copied from interface: QueryResult
      Iterate next data.
      Specified by:
      next in interface QueryResult
      Returns:
      has next data
      Throws:
      SQLException - SQL exception
    • getValue

      public Object getValue(int columnIndex, Class<?> type) throws SQLException
      Description copied from interface: QueryResult
      Get data value.
      Specified by:
      getValue in interface QueryResult
      Parameters:
      columnIndex - column index
      type - class type of data value
      Returns:
      data value
      Throws:
      SQLException - SQL exception
    • getCalendarValue

      public Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar)
      Description copied from interface: QueryResult
      Get calendar value.
      Specified by:
      getCalendarValue in interface QueryResult
      Parameters:
      columnIndex - column index
      type - class type of data value
      calendar - calendar
      Returns:
      calendar value
    • getInputStream

      public InputStream getInputStream(int columnIndex, String type)
      Description copied from interface: QueryResult
      Get input stream.
      Specified by:
      getInputStream in interface QueryResult
      Parameters:
      columnIndex - column index
      type - class type of data value
      Returns:
      input stream
    • wasNull

      public boolean wasNull()
      Description copied from interface: QueryResult
      Judge result set is null or not.
      Specified by:
      wasNull in interface QueryResult
      Returns:
      result set is null or not
    • getMetaData

      public QueryResultMetaData getMetaData()
      Description copied from interface: QueryResult
      Get query result meta data.
      Specified by:
      getMetaData in interface QueryResult
      Returns:
      query result meta data
    • close

      public void close() throws SQLException
      Description copied from interface: QueryResult
      Close.
      Specified by:
      close in interface QueryResult
      Throws:
      SQLException - SQL exception