All Superinterfaces:
ExecuteResult
All Known Implementing Classes:
AbstractMemoryQueryResult, AbstractStreamQueryResult, JDBCMemoryQueryResult, JDBCStreamQueryResult, RawMemoryQueryResult, VertxQueryResult

public interface QueryResult extends ExecuteResult
Query result.
  • Method Details

    • next

      boolean next() throws SQLException
      Iterate next data.
      Returns:
      has next data
      Throws:
      SQLException - SQL exception
    • getValue

      Object getValue(int columnIndex, Class<?> type) throws SQLException
      Get data value.
      Parameters:
      columnIndex - column index
      type - class type of data value
      Returns:
      data value
      Throws:
      SQLException - SQL exception
    • getCalendarValue

      Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar) throws SQLException
      Get calendar value.
      Parameters:
      columnIndex - column index
      type - class type of data value
      calendar - calendar
      Returns:
      calendar value
      Throws:
      SQLException - SQL exception
    • getInputStream

      InputStream getInputStream(int columnIndex, String type) throws SQLException
      Get input stream.
      Parameters:
      columnIndex - column index
      type - class type of data value
      Returns:
      input stream
      Throws:
      SQLException - SQL exception
    • wasNull

      boolean wasNull() throws SQLException
      Judge result set is null or not.
      Returns:
      result set is null or not
      Throws:
      SQLException - SQL exception
    • getMetaData

      QueryResultMetaData getMetaData()
      Get query result meta data.
      Returns:
      query result meta data
    • close

      void close() throws SQLException
      Close.
      Throws:
      SQLException - SQL exception