Class ResultSetImpl

java.lang.Object
com.mysql.cj.protocol.a.result.NativeResultset
com.mysql.cj.jdbc.result.ResultSetImpl
All Implemented Interfaces:
ResultSetInternalMethods, ProtocolEntity, Resultset, ResultsetRowsOwner, WarningListener, java.lang.AutoCloseable, java.sql.ResultSet, java.sql.Wrapper
Direct Known Subclasses:
UpdatableResultSet

public class ResultSetImpl
extends NativeResultset
implements ResultSetInternalMethods, WarningListener
  • Field Details

    • db

      protected java.lang.String db
      The database that was in use when we were created
    • columnUsed

      protected boolean[] columnUsed
      Keep track of columns accessed
    • connection

      protected volatile JdbcConnection connection
      The Connection instance that created us
    • session

      protected NativeSession session
    • currentRow

      protected int currentRow
      The current row #, -1 == before start of result set
    • eventSink

      protected ProfilerEventHandler eventSink
    • fetchDirection

      protected int fetchDirection
      The direction to fetch rows (always FETCH_FORWARD)
    • fetchSize

      protected int fetchSize
      The number of rows to fetch in one go...
    • firstCharOfQuery

      protected char firstCharOfQuery
      First character of the query that created this result set...Used to determine whether or not to parse server info messages in certain circumstances.
    • isClosed

      protected boolean isClosed
      Has this result set been closed?
    • resultSetConcurrency

      protected int resultSetConcurrency
      Are we read-only or updatable?
    • resultSetType

      protected int resultSetType
      Are we scroll-sensitive/insensitive?
    • useUsageAdvisor

      protected boolean useUsageAdvisor
    • gatherPerfMetrics

      protected boolean gatherPerfMetrics
    • warningChain

      protected java.sql.SQLWarning warningChain
      The warning chain
    • wrapperStatement

      protected java.sql.Statement wrapperStatement
    • emulateLocators

      protected RuntimeProperty<java.lang.Boolean> emulateLocators
    • yearIsDateType

      protected boolean yearIsDateType
  • Constructor Details

    • ResultSetImpl

      public ResultSetImpl​(OkPacket ok, JdbcConnection conn, StatementImpl creatorStmt)
      Create a result set for an executeUpdate statement.
      Parameters:
      ok - OkPacket
      conn - the Connection that created us.
      creatorStmt - the Statement that created us.
    • ResultSetImpl

      public ResultSetImpl​(ResultsetRows tuples, JdbcConnection conn, StatementImpl creatorStmt) throws java.sql.SQLException
      Creates a new ResultSet object.
      Parameters:
      tuples - actual row data
      conn - the Connection that created us.
      creatorStmt - the Statement that created us.
      Throws:
      java.sql.SQLException - if an error occurs
  • Method Details

    • initializeWithMetadata

      public void initializeWithMetadata() throws java.sql.SQLException
      Specified by:
      initializeWithMetadata in interface ResultSetInternalMethods
      Throws:
      java.sql.SQLException
    • absolute

      public boolean absolute​(int row) throws java.sql.SQLException
      Specified by:
      absolute in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • afterLast

      public void afterLast() throws java.sql.SQLException
      Specified by:
      afterLast in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • beforeFirst

      public void beforeFirst() throws java.sql.SQLException
      Specified by:
      beforeFirst in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • cancelRowUpdates

      public void cancelRowUpdates() throws java.sql.SQLException
      Specified by:
      cancelRowUpdates in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • checkClosed

      protected final JdbcConnection checkClosed() throws java.sql.SQLException
      Ensures that the result set is not closed
      Returns:
      connection
      Throws:
      java.sql.SQLException - if the result set is closed
    • checkColumnBounds

      protected final void checkColumnBounds​(int columnIndex) throws java.sql.SQLException
      Checks if columnIndex is within the number of columns in this result set.
      Parameters:
      columnIndex - the index to check
      Throws:
      java.sql.SQLException - if the index is out of bounds
    • checkRowPos

      protected void checkRowPos() throws java.sql.SQLException
      Ensures that the cursor is positioned on a valid row and that the result set is not closed
      Throws:
      java.sql.SQLException - if the result set is not in a valid state for traversal
    • clearWarnings

      public void clearWarnings() throws java.sql.SQLException
      Specified by:
      clearWarnings in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • close

      public void close() throws java.sql.SQLException
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • populateCachedMetaData

      public void populateCachedMetaData​(CachedResultSetMetaData cachedMetaData) throws java.sql.SQLException
      Specified by:
      populateCachedMetaData in interface ResultSetInternalMethods
      Throws:
      java.sql.SQLException
    • deleteRow

      public void deleteRow() throws java.sql.SQLException
      Specified by:
      deleteRow in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • findColumn

      public int findColumn​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      findColumn in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • first

      public boolean first() throws java.sql.SQLException
      Specified by:
      first in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getArray

      public java.sql.Array getArray​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getArray in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getArray

      public java.sql.Array getArray​(java.lang.String colName) throws java.sql.SQLException
      Specified by:
      getArray in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getAsciiStream

      public java.io.InputStream getAsciiStream​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getAsciiStream

      public java.io.InputStream getAsciiStream​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBigDecimal

      public java.math.BigDecimal getBigDecimal​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getBigDecimal in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBigDecimal

      @Deprecated public java.math.BigDecimal getBigDecimal​(int columnIndex, int scale) throws java.sql.SQLException
      Deprecated.
      Specified by:
      getBigDecimal in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBigDecimal

      public java.math.BigDecimal getBigDecimal​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getBigDecimal in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBigDecimal

      @Deprecated public java.math.BigDecimal getBigDecimal​(java.lang.String columnName, int scale) throws java.sql.SQLException
      Deprecated.
      Specified by:
      getBigDecimal in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBinaryStream

      public java.io.InputStream getBinaryStream​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBinaryStream

      public java.io.InputStream getBinaryStream​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBlob

      public java.sql.Blob getBlob​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBlob

      public java.sql.Blob getBlob​(java.lang.String colName) throws java.sql.SQLException
      Specified by:
      getBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBoolean

      public boolean getBoolean​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getBoolean in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBoolean

      public boolean getBoolean​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getBoolean in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getByte

      public byte getByte​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getByte in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getByte

      public byte getByte​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getByte in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBytes

      public byte[] getBytes​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getBytes in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBytes

      public byte[] getBytes​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getBytes in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getCharacterStream

      public java.io.Reader getCharacterStream​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getCharacterStream

      public java.io.Reader getCharacterStream​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getClob

      public java.sql.Clob getClob​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getClob

      public java.sql.Clob getClob​(java.lang.String colName) throws java.sql.SQLException
      Specified by:
      getClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getDate

      public java.sql.Date getDate​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getDate in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getDate

      public java.sql.Date getDate​(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
      Specified by:
      getDate in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getDate

      public java.sql.Date getDate​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getDate in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getDate

      public java.sql.Date getDate​(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
      Specified by:
      getDate in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getDouble

      public double getDouble​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getDouble in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getDouble

      public double getDouble​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getDouble in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getFloat

      public float getFloat​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getFloat in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getFloat

      public float getFloat​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getFloat in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getInt

      public int getInt​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getInt in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getBigInteger

      public java.math.BigInteger getBigInteger​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getBigInteger in interface ResultSetInternalMethods
      Throws:
      java.sql.SQLException
    • getInt

      public int getInt​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getInt in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getLong

      public long getLong​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getLong in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getLong

      public long getLong​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getLong in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getShort

      public short getShort​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getShort in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getShort

      public short getShort​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getShort in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getString

      public java.lang.String getString​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getString

      public java.lang.String getString​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getTime

      public java.sql.Time getTime​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getTime in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getTime

      public java.sql.Time getTime​(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
      Specified by:
      getTime in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getTime

      public java.sql.Time getTime​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getTime in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getTime

      public java.sql.Time getTime​(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
      Specified by:
      getTime in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getTimestamp in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getLocalDate

      public java.time.LocalDate getLocalDate​(int columnIndex) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getLocalDateTime

      public java.time.LocalDateTime getLocalDateTime​(int columnIndex) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getLocalTime

      public java.time.LocalTime getLocalTime​(int columnIndex) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getUtilCalendar

      public java.util.Calendar getUtilCalendar​(int columnIndex) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
      Specified by:
      getTimestamp in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getTimestamp in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
      Specified by:
      getTimestamp in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getNCharacterStream

      public java.io.Reader getNCharacterStream​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getNCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getNCharacterStream

      public java.io.Reader getNCharacterStream​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getNCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getNClob

      public java.sql.NClob getNClob​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getNClob

      public java.sql.NClob getNClob​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getNString

      public java.lang.String getNString​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getNString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getNString

      public java.lang.String getNString​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getNString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getConcurrency

      public int getConcurrency() throws java.sql.SQLException
      Specified by:
      getConcurrency in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getCursorName

      public java.lang.String getCursorName() throws java.sql.SQLException
      Specified by:
      getCursorName in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getFetchDirection

      public int getFetchDirection() throws java.sql.SQLException
      Specified by:
      getFetchDirection in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getFetchSize

      public int getFetchSize() throws java.sql.SQLException
      Specified by:
      getFetchSize in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getFirstCharOfQuery

      public char getFirstCharOfQuery()
      Description copied from interface: ResultSetInternalMethods
      Returns the first character of the query that was issued to create this result set, upper-cased.
      Specified by:
      getFirstCharOfQuery in interface ResultSetInternalMethods
      Returns:
      character
    • getMetaData

      public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
      Specified by:
      getMetaData in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getObject

      public java.lang.Object getObject​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getObject

      public <T> T getObject​(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException
      Specified by:
      getObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getObject

      public <T> T getObject​(java.lang.String columnLabel, java.lang.Class<T> type) throws java.sql.SQLException
      Specified by:
      getObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getObject

      public java.lang.Object getObject​(int i, java.util.Map<java.lang.String,​java.lang.Class<?>> map) throws java.sql.SQLException
      Specified by:
      getObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getObject

      public java.lang.Object getObject​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      getObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getObject

      public java.lang.Object getObject​(java.lang.String colName, java.util.Map<java.lang.String,​java.lang.Class<?>> map) throws java.sql.SQLException
      Specified by:
      getObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getObjectStoredProc

      public java.lang.Object getObjectStoredProc​(int columnIndex, int desiredSqlType) throws java.sql.SQLException
      Description copied from interface: ResultSetInternalMethods
      Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).
      Specified by:
      getObjectStoredProc in interface ResultSetInternalMethods
      Parameters:
      columnIndex - 1-based column index
      desiredSqlType - desired column type, one of Types
      Returns:
      object
      Throws:
      java.sql.SQLException - if an error occurs
    • getObjectStoredProc

      public java.lang.Object getObjectStoredProc​(int i, java.util.Map<java.lang.Object,​java.lang.Object> map, int desiredSqlType) throws java.sql.SQLException
      Description copied from interface: ResultSetInternalMethods
      Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).
      Specified by:
      getObjectStoredProc in interface ResultSetInternalMethods
      Parameters:
      i - 1-based column index
      map - map
      desiredSqlType - desired column type, one of Types
      Returns:
      object
      Throws:
      java.sql.SQLException - if an error occurs
    • getObjectStoredProc

      public java.lang.Object getObjectStoredProc​(java.lang.String columnName, int desiredSqlType) throws java.sql.SQLException
      Description copied from interface: ResultSetInternalMethods
      Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).
      Specified by:
      getObjectStoredProc in interface ResultSetInternalMethods
      Parameters:
      columnName - column name
      desiredSqlType - desired column type, one of Types
      Returns:
      object
      Throws:
      java.sql.SQLException - if an error occurs
    • getObjectStoredProc

      public java.lang.Object getObjectStoredProc​(java.lang.String colName, java.util.Map<java.lang.Object,​java.lang.Object> map, int desiredSqlType) throws java.sql.SQLException
      Description copied from interface: ResultSetInternalMethods
      Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).
      Specified by:
      getObjectStoredProc in interface ResultSetInternalMethods
      Parameters:
      colName - column name
      map - map
      desiredSqlType - desired column type, one of Types
      Returns:
      object
      Throws:
      java.sql.SQLException - if an error occurs
    • getRef

      public java.sql.Ref getRef​(int i) throws java.sql.SQLException
      Specified by:
      getRef in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getRef

      public java.sql.Ref getRef​(java.lang.String colName) throws java.sql.SQLException
      Specified by:
      getRef in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getRow

      public int getRow() throws java.sql.SQLException
      Specified by:
      getRow in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getStatement

      public java.sql.Statement getStatement() throws java.sql.SQLException
      Specified by:
      getStatement in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getType

      public int getType() throws java.sql.SQLException
      Specified by:
      getType in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getUnicodeStream

      @Deprecated public java.io.InputStream getUnicodeStream​(int columnIndex) throws java.sql.SQLException
      Deprecated.
      Specified by:
      getUnicodeStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getUnicodeStream

      @Deprecated public java.io.InputStream getUnicodeStream​(java.lang.String columnName) throws java.sql.SQLException
      Deprecated.
      Specified by:
      getUnicodeStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getURL

      public java.net.URL getURL​(int colIndex) throws java.sql.SQLException
      Specified by:
      getURL in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getURL

      public java.net.URL getURL​(java.lang.String colName) throws java.sql.SQLException
      Specified by:
      getURL in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getWarnings

      public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
      Specified by:
      getWarnings in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • insertRow

      public void insertRow() throws java.sql.SQLException
      Specified by:
      insertRow in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • isAfterLast

      public boolean isAfterLast() throws java.sql.SQLException
      Specified by:
      isAfterLast in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • isBeforeFirst

      public boolean isBeforeFirst() throws java.sql.SQLException
      Specified by:
      isBeforeFirst in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • isFirst

      public boolean isFirst() throws java.sql.SQLException
      Specified by:
      isFirst in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • isLast

      public boolean isLast() throws java.sql.SQLException
      Specified by:
      isLast in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • last

      public boolean last() throws java.sql.SQLException
      Specified by:
      last in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • moveToCurrentRow

      public void moveToCurrentRow() throws java.sql.SQLException
      Specified by:
      moveToCurrentRow in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • moveToInsertRow

      public void moveToInsertRow() throws java.sql.SQLException
      Specified by:
      moveToInsertRow in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • next

      public boolean next() throws java.sql.SQLException
      Specified by:
      next in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • prev

      public boolean prev() throws java.sql.SQLException
      The prev method is not part of JDBC, but because of the architecture of this driver it is possible to move both forward and backward within the result set.

      If an input stream from the previous row is open, it is implicitly closed. The ResultSet's warning chain is cleared when a new row is read

      Returns:
      true if the new current is valid; false if there are no more rows
      Throws:
      java.sql.SQLException - if a database access error occurs
    • previous

      public boolean previous() throws java.sql.SQLException
      Specified by:
      previous in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • realClose

      public void realClose​(boolean calledExplicitly) throws java.sql.SQLException
      Description copied from interface: ResultSetInternalMethods
      Closes this ResultSet and releases resources.
      Specified by:
      realClose in interface ResultSetInternalMethods
      Parameters:
      calledExplicitly - was realClose called by the standard ResultSet.close() method, or was it closed internally by the driver?
      Throws:
      java.sql.SQLException - if an error occurs
    • isClosed

      public boolean isClosed() throws java.sql.SQLException
      Specified by:
      isClosed in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • refreshRow

      public void refreshRow() throws java.sql.SQLException
      Specified by:
      refreshRow in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • relative

      public boolean relative​(int rows) throws java.sql.SQLException
      Specified by:
      relative in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • rowDeleted

      public boolean rowDeleted() throws java.sql.SQLException
      Specified by:
      rowDeleted in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • rowInserted

      public boolean rowInserted() throws java.sql.SQLException
      Specified by:
      rowInserted in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • rowUpdated

      public boolean rowUpdated() throws java.sql.SQLException
      Specified by:
      rowUpdated in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • setFetchDirection

      public void setFetchDirection​(int direction) throws java.sql.SQLException
      Specified by:
      setFetchDirection in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • setFetchSize

      public void setFetchSize​(int rows) throws java.sql.SQLException
      Specified by:
      setFetchSize in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • setFirstCharOfQuery

      public void setFirstCharOfQuery​(char c)
      Description copied from interface: ResultSetInternalMethods
      Sets the first character of the query that was issued to create this result set. The character should be upper-cased.
      Specified by:
      setFirstCharOfQuery in interface ResultSetInternalMethods
      Parameters:
      c - character
    • setOwningStatement

      public void setOwningStatement​(JdbcStatement owningStatement)
      Description copied from interface: ResultSetInternalMethods
      Sets the statement that "owns" this result set (usually used when the result set should internally "belong" to one statement, but is created by another.
      Specified by:
      setOwningStatement in interface ResultSetInternalMethods
      Parameters:
      owningStatement - the statement this result set will belong to
    • setResultSetConcurrency

      public void setResultSetConcurrency​(int concurrencyFlag)
      Sets the concurrency
      Parameters:
      concurrencyFlag - CONCUR_UPDATABLE or CONCUR_READONLY
    • setResultSetType

      public void setResultSetType​(int typeFlag)
      Sets the result set type
      Parameters:
      typeFlag - SCROLL_SENSITIVE or SCROLL_INSENSITIVE (we only support SCROLL_INSENSITIVE)
    • setServerInfo

      public void setServerInfo​(java.lang.String info)
      Sets server info (if any)
      Parameters:
      info - the server info message
    • setStatementUsedForFetchingRows

      public void setStatementUsedForFetchingRows​(JdbcPreparedStatement stmt)
      Specified by:
      setStatementUsedForFetchingRows in interface ResultSetInternalMethods
    • setWrapperStatement

      public void setWrapperStatement​(java.sql.Statement wrapperStatement)
      Specified by:
      setWrapperStatement in interface ResultSetInternalMethods
      Parameters:
      wrapperStatement - The wrapperStatement to set.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • updateArray

      public void updateArray​(int columnIndex, java.sql.Array arg1) throws java.sql.SQLException
      Specified by:
      updateArray in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateArray

      public void updateArray​(java.lang.String columnLabel, java.sql.Array arg1) throws java.sql.SQLException
      Specified by:
      updateArray in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateAsciiStream

      public void updateAsciiStream​(int columnIndex, java.io.InputStream x) throws java.sql.SQLException
      Specified by:
      updateAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateAsciiStream

      public void updateAsciiStream​(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException
      Specified by:
      updateAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateAsciiStream

      public void updateAsciiStream​(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
      Specified by:
      updateAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateAsciiStream

      public void updateAsciiStream​(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
      Specified by:
      updateAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateAsciiStream

      public void updateAsciiStream​(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException
      Specified by:
      updateAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateAsciiStream

      public void updateAsciiStream​(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException
      Specified by:
      updateAsciiStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBigDecimal

      public void updateBigDecimal​(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException
      Specified by:
      updateBigDecimal in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBigDecimal

      public void updateBigDecimal​(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException
      Specified by:
      updateBigDecimal in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBinaryStream

      public void updateBinaryStream​(int columnIndex, java.io.InputStream x) throws java.sql.SQLException
      Specified by:
      updateBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBinaryStream

      public void updateBinaryStream​(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException
      Specified by:
      updateBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBinaryStream

      public void updateBinaryStream​(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
      Specified by:
      updateBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBinaryStream

      public void updateBinaryStream​(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
      Specified by:
      updateBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBinaryStream

      public void updateBinaryStream​(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException
      Specified by:
      updateBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBinaryStream

      public void updateBinaryStream​(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException
      Specified by:
      updateBinaryStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBlob

      public void updateBlob​(int columnIndex, java.sql.Blob arg1) throws java.sql.SQLException
      Specified by:
      updateBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBlob

      public void updateBlob​(java.lang.String columnLabel, java.sql.Blob arg1) throws java.sql.SQLException
      Specified by:
      updateBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBlob

      public void updateBlob​(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
      Specified by:
      updateBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBlob

      public void updateBlob​(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
      Specified by:
      updateBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBlob

      public void updateBlob​(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
      Specified by:
      updateBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBlob

      public void updateBlob​(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
      Specified by:
      updateBlob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBoolean

      public void updateBoolean​(int columnIndex, boolean x) throws java.sql.SQLException
      Specified by:
      updateBoolean in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBoolean

      public void updateBoolean​(java.lang.String columnName, boolean x) throws java.sql.SQLException
      Specified by:
      updateBoolean in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateByte

      public void updateByte​(int columnIndex, byte x) throws java.sql.SQLException
      Specified by:
      updateByte in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateByte

      public void updateByte​(java.lang.String columnName, byte x) throws java.sql.SQLException
      Specified by:
      updateByte in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBytes

      public void updateBytes​(int columnIndex, byte[] x) throws java.sql.SQLException
      Specified by:
      updateBytes in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateBytes

      public void updateBytes​(java.lang.String columnName, byte[] x) throws java.sql.SQLException
      Specified by:
      updateBytes in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateCharacterStream

      public void updateCharacterStream​(int columnIndex, java.io.Reader x) throws java.sql.SQLException
      Specified by:
      updateCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateCharacterStream

      public void updateCharacterStream​(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
      Specified by:
      updateCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateCharacterStream

      public void updateCharacterStream​(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException
      Specified by:
      updateCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateCharacterStream

      public void updateCharacterStream​(java.lang.String columnName, java.io.Reader reader, int length) throws java.sql.SQLException
      Specified by:
      updateCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateCharacterStream

      public void updateCharacterStream​(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException
      Specified by:
      updateCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateCharacterStream

      public void updateCharacterStream​(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
      Specified by:
      updateCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateClob

      public void updateClob​(int columnIndex, java.sql.Clob arg1) throws java.sql.SQLException
      Specified by:
      updateClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateClob

      public void updateClob​(java.lang.String columnName, java.sql.Clob clob) throws java.sql.SQLException
      Specified by:
      updateClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateClob

      public void updateClob​(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
      Specified by:
      updateClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateClob

      public void updateClob​(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
      Specified by:
      updateClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateClob

      public void updateClob​(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
      Specified by:
      updateClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateClob

      public void updateClob​(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
      Specified by:
      updateClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateDate

      public void updateDate​(int columnIndex, java.sql.Date x) throws java.sql.SQLException
      Specified by:
      updateDate in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateDate

      public void updateDate​(java.lang.String columnName, java.sql.Date x) throws java.sql.SQLException
      Specified by:
      updateDate in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateDouble

      public void updateDouble​(int columnIndex, double x) throws java.sql.SQLException
      Specified by:
      updateDouble in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateDouble

      public void updateDouble​(java.lang.String columnName, double x) throws java.sql.SQLException
      Specified by:
      updateDouble in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateFloat

      public void updateFloat​(int columnIndex, float x) throws java.sql.SQLException
      Specified by:
      updateFloat in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateFloat

      public void updateFloat​(java.lang.String columnName, float x) throws java.sql.SQLException
      Specified by:
      updateFloat in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateInt

      public void updateInt​(int columnIndex, int x) throws java.sql.SQLException
      Specified by:
      updateInt in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateInt

      public void updateInt​(java.lang.String columnName, int x) throws java.sql.SQLException
      Specified by:
      updateInt in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateLong

      public void updateLong​(int columnIndex, long x) throws java.sql.SQLException
      Specified by:
      updateLong in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateLong

      public void updateLong​(java.lang.String columnName, long x) throws java.sql.SQLException
      Specified by:
      updateLong in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNCharacterStream

      public void updateNCharacterStream​(int columnIndex, java.io.Reader x) throws java.sql.SQLException
      Specified by:
      updateNCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNCharacterStream

      public void updateNCharacterStream​(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
      Specified by:
      updateNCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNCharacterStream

      public void updateNCharacterStream​(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException
      Specified by:
      updateNCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNCharacterStream

      public void updateNCharacterStream​(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
      Specified by:
      updateNCharacterStream in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNClob

      public void updateNClob​(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException
      Specified by:
      updateNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNClob

      public void updateNClob​(java.lang.String columnName, java.sql.NClob nClob) throws java.sql.SQLException
      Specified by:
      updateNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNClob

      public void updateNClob​(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
      Specified by:
      updateNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNClob

      public void updateNClob​(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
      Specified by:
      updateNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNClob

      public void updateNClob​(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
      Specified by:
      updateNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNClob

      public void updateNClob​(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
      Specified by:
      updateNClob in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNull

      public void updateNull​(int columnIndex) throws java.sql.SQLException
      Specified by:
      updateNull in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNull

      public void updateNull​(java.lang.String columnName) throws java.sql.SQLException
      Specified by:
      updateNull in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNString

      public void updateNString​(int columnIndex, java.lang.String nString) throws java.sql.SQLException
      Specified by:
      updateNString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateNString

      public void updateNString​(java.lang.String columnLabel, java.lang.String nString) throws java.sql.SQLException
      Specified by:
      updateNString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(int columnIndex, java.lang.Object x) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(java.lang.String columnName, java.lang.Object x) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(java.lang.String columnName, java.lang.Object x, int scale) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateObject

      public void updateObject​(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
      Specified by:
      updateObject in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateRef

      public void updateRef​(int columnIndex, java.sql.Ref arg1) throws java.sql.SQLException
      Specified by:
      updateRef in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateRef

      public void updateRef​(java.lang.String columnLabel, java.sql.Ref arg1) throws java.sql.SQLException
      Specified by:
      updateRef in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateRow

      public void updateRow() throws java.sql.SQLException
      Specified by:
      updateRow in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateRowId

      public void updateRowId​(int columnIndex, java.sql.RowId x) throws java.sql.SQLException
      Specified by:
      updateRowId in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateRowId

      public void updateRowId​(java.lang.String columnName, java.sql.RowId x) throws java.sql.SQLException
      Specified by:
      updateRowId in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateShort

      public void updateShort​(int columnIndex, short x) throws java.sql.SQLException
      Specified by:
      updateShort in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateShort

      public void updateShort​(java.lang.String columnName, short x) throws java.sql.SQLException
      Specified by:
      updateShort in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateSQLXML

      public void updateSQLXML​(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
      Specified by:
      updateSQLXML in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateSQLXML

      public void updateSQLXML​(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException
      Specified by:
      updateSQLXML in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateString

      public void updateString​(int columnIndex, java.lang.String x) throws java.sql.SQLException
      Specified by:
      updateString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateString

      public void updateString​(java.lang.String columnName, java.lang.String x) throws java.sql.SQLException
      Specified by:
      updateString in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateTime

      public void updateTime​(int columnIndex, java.sql.Time x) throws java.sql.SQLException
      Specified by:
      updateTime in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateTime

      public void updateTime​(java.lang.String columnName, java.sql.Time x) throws java.sql.SQLException
      Specified by:
      updateTime in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateTimestamp

      public void updateTimestamp​(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException
      Specified by:
      updateTimestamp in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • updateTimestamp

      public void updateTimestamp​(java.lang.String columnName, java.sql.Timestamp x) throws java.sql.SQLException
      Specified by:
      updateTimestamp in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • wasNull

      public boolean wasNull() throws java.sql.SQLException
      Specified by:
      wasNull in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getExceptionInterceptor

      protected ExceptionInterceptor getExceptionInterceptor()
    • getHoldability

      public int getHoldability() throws java.sql.SQLException
      Specified by:
      getHoldability in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getRowId

      public java.sql.RowId getRowId​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getRowId in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getRowId

      public java.sql.RowId getRowId​(java.lang.String columnLabel) throws java.sql.SQLException
      Specified by:
      getRowId in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getSQLXML

      public java.sql.SQLXML getSQLXML​(int columnIndex) throws java.sql.SQLException
      Specified by:
      getSQLXML in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • getSQLXML

      public java.sql.SQLXML getSQLXML​(java.lang.String columnLabel) throws java.sql.SQLException
      Specified by:
      getSQLXML in interface java.sql.ResultSet
      Throws:
      java.sql.SQLException
    • isWrapperFor

      public boolean isWrapperFor​(java.lang.Class<?> iface) throws java.sql.SQLException
      Specified by:
      isWrapperFor in interface java.sql.Wrapper
      Throws:
      java.sql.SQLException
    • unwrap

      public <T> T unwrap​(java.lang.Class<T> iface) throws java.sql.SQLException
      Specified by:
      unwrap in interface java.sql.Wrapper
      Throws:
      java.sql.SQLException
    • warningEncountered

      public void warningEncountered​(java.lang.String warning)
      Accumulate internal warnings as the SQLWarning chain.
      Specified by:
      warningEncountered in interface WarningListener
    • getMetadata

      public ColumnDefinition getMetadata()
    • getOwningStatement

      public StatementImpl getOwningStatement()
    • closeOwner

      public void closeOwner​(boolean calledExplicitly)
      Specified by:
      closeOwner in interface ResultsetRowsOwner
    • getConnection

      public JdbcConnection getConnection()
      Specified by:
      getConnection in interface ResultsetRowsOwner
    • getSession

      public Session getSession()
      Specified by:
      getSession in interface ResultsetRowsOwner
    • getPointOfOrigin

      public java.lang.String getPointOfOrigin()
      Description copied from interface: ResultsetRowsOwner
      StackTrace generated where ResultSet was created... used when profiling
      Specified by:
      getPointOfOrigin in interface ResultsetRowsOwner
      Returns:
      string representation of a stack trace
    • getOwnerFetchSize

      public int getOwnerFetchSize()
      Specified by:
      getOwnerFetchSize in interface ResultsetRowsOwner
    • getOwningQuery

      public Query getOwningQuery()
      Specified by:
      getOwningQuery in interface ResultsetRowsOwner
    • getOwningStatementMaxRows

      public int getOwningStatementMaxRows()
      Specified by:
      getOwningStatementMaxRows in interface ResultsetRowsOwner
    • getOwningStatementFetchSize

      public int getOwningStatementFetchSize()
      Specified by:
      getOwningStatementFetchSize in interface ResultsetRowsOwner
    • getOwningStatementServerId

      public long getOwningStatementServerId()
      Specified by:
      getOwningStatementServerId in interface ResultsetRowsOwner
    • getSyncMutex

      public java.lang.Object getSyncMutex()
      Specified by:
      getSyncMutex in interface ResultsetRowsOwner