Class ClientResultSet
- java.lang.Object
-
- org.apache.derby.client.am.ClientResultSet
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, java.sql.ResultSet, java.sql.Wrapper, ResultSetCallbackInterface, UnitOfWorkListener
public abstract class ClientResultSet extends java.lang.Object implements java.sql.ResultSet, ResultSetCallbackInterface
-
-
Field Summary
Fields Modifier and Type Field and Description Cursorcursor_booleancursorHold_intfetchSize_SectiongeneratedSection_booleanisRowsetCursor_booleanopenOnServer_longqueryInstanceIdentifier_SqlcaqueryTerminatingSqlca_ColumnMetaDataresultSetMetaData_intresultSetType_Sqlca[]rowsetSqlca_introwsReceivedInCurrentRowset_introwsYetToBeReceivedForRowset_booleanscrollable_static intscrollOrientation_absolute__static intscrollOrientation_after__static intscrollOrientation_before__static intscrollOrientation_relative__intsensitivity_static intsensitivity_insensitive__static intsensitivity_sensitive_dynamic__static intsensitivity_sensitive_static__static intsensitivity_unknown__ClientStatementstatement_
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description booleanabsolute(int row)voidaccumulateWarning(SqlWarning e)voidafterLast()voidbeforeFirst()voidcancelRowUpdates()voidclearWarnings()Clear all warnings on thisResultSetand make subsequent calls togetWarnings()returnnulluntil a new warning is reported.voidclose()voidcloseX()voidcompleteLocalCommit(java.util.Iterator listenerIterator)voidcompleteLocalRollback(java.util.Iterator listenerIterator)intcompleteSqlca(Sqlca sqlca)voiddeleteRow()voidearlyCloseComplete(Sqlca sqlca)voidexpandRowsetSqlca()intfindColumn(java.lang.String columnName)booleanfirst()java.sql.ArraygetArray(int column)java.sql.ArraygetArray(java.lang.String columnName)java.io.InputStreamgetAsciiStream(int column)java.io.InputStreamgetAsciiStream(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(int column)java.math.BigDecimalgetBigDecimal(int column, int scale)Deprecated.java.math.BigDecimalgetBigDecimal(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(java.lang.String columnName, int scale)Deprecated.java.io.InputStreamgetBinaryStream(int column)java.io.InputStreamgetBinaryStream(java.lang.String columnName)java.sql.BlobgetBlob(int column)java.sql.BlobgetBlob(java.lang.String columnName)booleangetBoolean(int column)booleangetBoolean(java.lang.String columnName)bytegetByte(int column)bytegetByte(java.lang.String columnName)byte[]getBytes(int column)byte[]getBytes(java.lang.String columnName)java.io.ReadergetCharacterStream(int column)java.io.ReadergetCharacterStream(java.lang.String columnName)java.sql.ClobgetClob(int column)java.sql.ClobgetClob(java.lang.String columnName)intgetConcurrency()ConnectionCallbackInterfacegetConnectionCallbackInterface()java.lang.StringgetCursorName()java.sql.DategetDate(int column)java.sql.DategetDate(int column, java.util.Calendar cal)java.sql.DategetDate(java.lang.String columnName)java.sql.DategetDate(java.lang.String columnName, java.util.Calendar cal)doublegetDouble(int column)doublegetDouble(java.lang.String columnName)intgetFetchDirection()intgetFetchSize()floatgetFloat(int column)floatgetFloat(java.lang.String columnName)intgetHoldability()Retrieves the holdability for thisResultSetobject.intgetInt(int column)intgetInt(java.lang.String columnName)longgetLong(int column)longgetLong(java.lang.String columnName)java.sql.ResultSetMetaDatagetMetaData()java.io.ReadergetNCharacterStream(int columnIndex)java.io.ReadergetNCharacterStream(java.lang.String columnName)java.sql.NClobgetNClob(int i)java.sql.NClobgetNClob(java.lang.String colName)java.lang.StringgetNString(int columnIndex)java.lang.StringgetNString(java.lang.String columnName)java.lang.ObjectgetObject(int column)<T> TgetObject(int columnIndex, java.lang.Class<T> type)Retrieve the column as an object of the desired type.java.lang.ObjectgetObject(int column, java.util.Map map)java.lang.ObjectgetObject(java.lang.String columnName)<T> TgetObject(java.lang.String columnName, java.lang.Class<T> type)java.lang.ObjectgetObject(java.lang.String columnName, java.util.Map map)java.sql.RefgetRef(int column)java.sql.RefgetRef(java.lang.String columnName)intgetRow()java.sql.RowIdgetRowId(int columnIndex)java.sql.RowIdgetRowId(java.lang.String columnName)bytegetRSReturnability()shortgetShort(int column)shortgetShort(java.lang.String columnName)java.sql.SQLXMLgetSQLXML(int columnIndex)java.sql.SQLXMLgetSQLXML(java.lang.String colName)java.sql.StatementgetStatement()Retrieves theStatementobject that produced this object, ornullif theResultSetwas not produced by aStatementobject.StatementCallbackInterfacegetStatementCallbackInterface()java.lang.StringgetString(int column)java.lang.StringgetString(java.lang.String columnName)java.sql.TimegetTime(int column)java.sql.TimegetTime(int column, java.util.Calendar cal)java.sql.TimegetTime(java.lang.String columnName)java.sql.TimegetTime(java.lang.String columnName, java.util.Calendar cal)java.sql.TimestampgetTimestamp(int column)java.sql.TimestampgetTimestamp(int column, java.util.Calendar calendar)java.sql.TimestampgetTimestamp(java.lang.String columnName)java.sql.TimestampgetTimestamp(java.lang.String columnName, java.util.Calendar cal)intgetType()java.io.InputStreamgetUnicodeStream(int column)Deprecated.java.io.InputStreamgetUnicodeStream(java.lang.String columnName)Deprecated.java.net.URLgetURL(int columnIndex)java.net.URLgetURL(java.lang.String columnName)java.sql.SQLWarninggetWarnings()Returns the firstSQLWarningreported on thisResultSetobject, ornullif there are no warnings.voidinsertRow()booleanisAfterLast()booleanisBeforeFirst()booleanisClosed()Checks whether thisResultSetobject has been closed, either automatically or becauseclose()has been called.booleanisFirst()booleanisLast()booleanisWrapperFor(java.lang.Class<?> interfaces)Returns false unlessinterfacesis implementedbooleanlast()voidlistenToUnitOfWork()voidmarkClosedOnServer()Mark this ResultSet as closed on the server.voidmarkLOBAsPublished(int index)Marks the LOB at the specified column as published.voidmoveToCurrentRow()voidmoveToInsertRow()booleannext()booleanprevious()abstract voidreadCursorClose_()abstract voidreadFetch_()abstract voidreadPositioningFetch_()abstract voidreadScrollableFetch_()voidrefreshRow()booleanrelative(int rows)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()voidsetFetchDirection(int direction)abstract voidsetFetchSize_(int rows)voidsetFetchSize(int rows)voidsetRowCountEvent(long rowCount)voidsetRSReturnability(byte rsReturnability)voidsetValidCursorPosition(boolean isValidCursorPosition)<T> Tunwrap(java.lang.Class<T> interfaces)Returnsthisif this class implements the interfacevoidupdateArray(int columnIndex, java.sql.Array x)voidupdateArray(java.lang.String columnName, java.sql.Array x)voidupdateAsciiStream(int columnIndex, java.io.InputStream x)Updates the designated column with an ascii stream value.voidupdateAsciiStream(int column, java.io.InputStream x, int length)voidupdateAsciiStream(int columnIndex, java.io.InputStream x, long length)Update a column with an ascii stream value.voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream x)Updates the designated column with an ascii stream value.voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream x, long length)Update a column with an ascii stream value.voidupdateBigDecimal(int column, java.math.BigDecimal x)voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)voidupdateBinaryStream(int columnIndex, java.io.InputStream x)Updates the designated column with a binary stream value.voidupdateBinaryStream(int column, java.io.InputStream x, int length)voidupdateBinaryStream(int columnIndex, java.io.InputStream x, long length)Update a column with a binary stream value.voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)Updates the designated column with a binary stream value.voidupdateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)voidupdateBinaryStream(java.lang.String columnName, java.io.InputStream x, long length)Update a column with a binary stream value.voidupdateBlob(int columnIndex, java.sql.Blob x)Updates the designated column with ajava.sql.Blobvalue.voidupdateBlob(int columnIndex, java.io.InputStream x)Updates the designated column using the given input stream.voidupdateBlob(int columnIndex, java.io.InputStream x, long length)Updates the designated column using the given input stream, which will have the specified number of bytes.voidupdateBlob(java.lang.String columnName, java.sql.Blob x)Updates the designated column with ajava.sql.Blobvalue.voidupdateBlob(java.lang.String columnLabel, java.io.InputStream x)Updates the designated column using the given input stream.voidupdateBlob(java.lang.String columnName, java.io.InputStream x, long length)Updates the designated column using the given input stream, which will have the specified number of bytes.voidupdateBoolean(int column, boolean x)voidupdateBoolean(java.lang.String columnName, boolean x)voidupdateByte(int column, byte x)voidupdateByte(java.lang.String columnName, byte x)voidupdateBytes(int column, byte[] x)voidupdateBytes(java.lang.String columnName, byte[] x)voidupdateCharacterStream(int columnIndex, java.io.Reader reader)Updates the designated column with a character stream value.voidupdateCharacterStream(int column, java.io.Reader x, int length)voidupdateCharacterStream(int columnIndex, java.io.Reader x, long length)Update a column with a character stream value.voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)Updates the designated column with a character stream value.voidupdateCharacterStream(java.lang.String columnName, java.io.Reader x, int length)voidupdateCharacterStream(java.lang.String columnName, java.io.Reader reader, long length)Update a column with a character stream value.voidupdateClob(int columnIndex, java.sql.Clob x)Updates the designated column with ajava.sql.Clobvalue.voidupdateClob(int columnIndex, java.io.Reader reader)Updates the designated column using the givenReaderobject.voidupdateClob(int columnIndex, java.io.Reader x, long length)Updates the designated column using the givenReaderobject, which is the given number of characters long.voidupdateClob(java.lang.String columnLabel, java.sql.Clob x)Updates the designated column with ajava.sql.Clobvalue.voidupdateClob(java.lang.String columnLabel, java.io.Reader reader)Updates the designated column using the givenReaderobject.voidupdateClob(java.lang.String columnName, java.io.Reader x, long length)Updates the designated column using the givenReaderobject, which is the given number of characters long.voidupdateDate(int column, java.sql.Date x)voidupdateDate(java.lang.String columnName, java.sql.Date x)voidupdateDouble(int column, double x)voidupdateDouble(java.lang.String columnName, double x)voidupdateFloat(int column, float x)voidupdateFloat(java.lang.String columnName, float x)voidupdateInt(int column, int x)voidupdateInt(java.lang.String columnName, int x)voidupdateLong(int column, long x)voidupdateLong(java.lang.String columnName, long x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateNCharacterStream(java.lang.String columnName, java.io.Reader x)voidupdateNCharacterStream(java.lang.String columnName, java.io.Reader x, long length)voidupdateNClob(int columnIndex, java.sql.NClob nClob)voidupdateNClob(int columnIndex, java.io.Reader reader)voidupdateNClob(int columnIndex, java.io.Reader x, long length)Updates the designated column with a java.sql.NClob value.voidupdateNClob(java.lang.String columnName, java.io.InputStream x, long length)Updates the designated column with a java.sql.NClob value.voidupdateNClob(java.lang.String columnName, java.sql.NClob nClob)voidupdateNClob(java.lang.String columnName, java.io.Reader reader)voidupdateNClob(java.lang.String columnName, java.io.Reader x, long length)Updates the designated column with a java.sql.NClob value.voidupdateNString(int columnIndex, java.lang.String nString)voidupdateNString(java.lang.String columnName, java.lang.String nString)voidupdateNull(int column)voidupdateNull(java.lang.String columnName)voidupdateObject(int column, java.lang.Object x)voidupdateObject(int column, java.lang.Object x, int scale)voidupdateObject(java.lang.String columnName, java.lang.Object x)voidupdateObject(java.lang.String columnName, java.lang.Object x, int scale)voidupdateRef(int columnIndex, java.sql.Ref x)voidupdateRef(java.lang.String columnName, java.sql.Ref x)voidupdateRow()voidupdateRowId(int columnIndex, java.sql.RowId x)voidupdateRowId(java.lang.String columnName, java.sql.RowId x)voidupdateShort(int column, short x)voidupdateShort(java.lang.String columnName, short x)voidupdateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)voidupdateSQLXML(java.lang.String columnName, java.sql.SQLXML xmlObject)voidupdateString(int column, java.lang.String x)voidupdateString(java.lang.String columnName, java.lang.String x)voidupdateTime(int column, java.sql.Time x)voidupdateTime(java.lang.String columnName, java.sql.Time x)voidupdateTimestamp(int column, java.sql.Timestamp x)voidupdateTimestamp(java.lang.String columnName, java.sql.Timestamp x)booleanwasNull()abstract voidwriteCursorClose_(Section section)abstract voidwriteFetch_(Section section)abstract voidwritePositioningFetch_(Section section, int orientation, long rowToFetch)abstract voidwriteScrollableFetch_(Section section, int fetchSize, int orientation, long rowToFetch, boolean resetQueryBlocks)
-
-
-
Field Detail
-
statement_
public ClientStatement statement_
-
resultSetMetaData_
public ColumnMetaData resultSetMetaData_
-
cursor_
public Cursor cursor_
-
generatedSection_
public Section generatedSection_
-
scrollOrientation_relative__
public static final int scrollOrientation_relative__
- See Also:
- Constant Field Values
-
scrollOrientation_absolute__
public static final int scrollOrientation_absolute__
- See Also:
- Constant Field Values
-
scrollOrientation_after__
public static final int scrollOrientation_after__
- See Also:
- Constant Field Values
-
scrollOrientation_before__
public static final int scrollOrientation_before__
- See Also:
- Constant Field Values
-
sensitivity_unknown__
public static final int sensitivity_unknown__
- See Also:
- Constant Field Values
-
sensitivity_insensitive__
public static final int sensitivity_insensitive__
- See Also:
- Constant Field Values
-
sensitivity_sensitive_static__
public static final int sensitivity_sensitive_static__
- See Also:
- Constant Field Values
-
sensitivity_sensitive_dynamic__
public static final int sensitivity_sensitive_dynamic__
- See Also:
- Constant Field Values
-
openOnServer_
public boolean openOnServer_
-
queryTerminatingSqlca_
public Sqlca queryTerminatingSqlca_
-
cursorHold_
public boolean cursorHold_
-
queryInstanceIdentifier_
public long queryInstanceIdentifier_
-
resultSetType_
public int resultSetType_
-
scrollable_
public boolean scrollable_
-
sensitivity_
public int sensitivity_
-
isRowsetCursor_
public boolean isRowsetCursor_
-
rowsetSqlca_
public Sqlca[] rowsetSqlca_
-
fetchSize_
public int fetchSize_
-
rowsReceivedInCurrentRowset_
public int rowsReceivedInCurrentRowset_
-
rowsYetToBeReceivedForRowset_
public int rowsYetToBeReceivedForRowset_
-
-
Method Detail
-
next
public final boolean next() throws java.sql.SQLException- Specified by:
nextin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
close
public void close() throws java.sql.SQLException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
closeX
public final void closeX() throws SqlException- Throws:
SqlException
-
wasNull
public boolean wasNull() throws java.sql.SQLException- Specified by:
wasNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public boolean getBoolean(int column) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(int column) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public short getShort(int column) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getInt
public int getInt(int column) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public long getLong(int column) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFloat
public float getFloat(int column) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(int column) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int column, int scale) throws java.sql.SQLExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int column) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int column, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int column) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int column, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int column) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int column, java.util.Calendar calendar) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int column) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString(int column) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(int column) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream(int column) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream(int column) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
public java.io.InputStream getUnicodeStream(int column) throws java.sql.SQLExceptionDeprecated.Retrieve the value of the specified column as a stream of two-byte Unicode characters. Deprecated in JDBC 2.0 and this method will just throw a feature not implemented exception.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Parameters:
column- the column to retrieve as a Unicode stream- Throws:
java.sql.SQLException- throws feature not implemented
-
getCharacterStream
public java.io.Reader getCharacterStream(int column) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public java.sql.Blob getBlob(int column) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public java.sql.Clob getClob(int column) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(int column) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(int column) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int column) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int column, java.util.Map map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public final boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public final byte getByte(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public final short getShort(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getInt
public final int getInt(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public final long getLong(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFloat
public final float getFloat(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public final double getDouble(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public final java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public final java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public final java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public final java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public final java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public final java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public final java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public final java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getString
public final java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public final byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public final java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public final java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
public final java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLExceptionDeprecated.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public final java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public final java.sql.Blob getBlob(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public final java.sql.Clob getClob(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public final java.sql.Array getArray(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public final java.sql.Ref getRef(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public final java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public final java.lang.Object getObject(java.lang.String columnName, java.util.Map map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getWarnings
public final java.sql.SQLWarning getWarnings() throws java.sql.SQLExceptionReturns the firstSQLWarningreported on thisResultSetobject, ornullif there are no warnings. Subsequent warnings are chained on the returned object.- Specified by:
getWarningsin interfacejava.sql.ResultSet- Returns:
- the first
SQLWarningin the chain, ornullif no warnings are reported - Throws:
java.sql.SQLException- if a database error occurs or the result set is closed
-
clearWarnings
public final void clearWarnings() throws java.sql.SQLExceptionClear all warnings on thisResultSetand make subsequent calls togetWarnings()returnnulluntil a new warning is reported.- Specified by:
clearWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException- if a database error occurs or the result set is closed
-
getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException- Specified by:
getCursorNamein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getMetaData
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException- Specified by:
getMetaDatain interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
findColumn
public final int findColumn(java.lang.String columnName) throws java.sql.SQLException- Specified by:
findColumnin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws java.sql.SQLException- Specified by:
isBeforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isAfterLast
public boolean isAfterLast() throws java.sql.SQLException- Specified by:
isAfterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isFirst
public boolean isFirst() throws java.sql.SQLException- Specified by:
isFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isLast
public boolean isLast() throws java.sql.SQLException- Specified by:
isLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
beforeFirst
public void beforeFirst() throws java.sql.SQLException- Specified by:
beforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
afterLast
public void afterLast() throws java.sql.SQLException- Specified by:
afterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
first
public boolean first() throws java.sql.SQLException- Specified by:
firstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
last
public boolean last() throws java.sql.SQLException- Specified by:
lastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRow
public int getRow() throws java.sql.SQLException- Specified by:
getRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
absolute
public boolean absolute(int row) throws java.sql.SQLException- Specified by:
absolutein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
relative
public boolean relative(int rows) throws java.sql.SQLException- Specified by:
relativein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
previous
public boolean previous() throws java.sql.SQLException- Specified by:
previousin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
setFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchDirection
public int getFetchDirection() throws java.sql.SQLException- Specified by:
getFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchSize
public void setFetchSize(int rows) throws java.sql.SQLException- Specified by:
setFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- Specified by:
getFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getType
public int getType() throws java.sql.SQLException- Specified by:
getTypein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getConcurrency
public int getConcurrency() throws java.sql.SQLException- Specified by:
getConcurrencyin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowUpdated
public boolean rowUpdated() throws java.sql.SQLException- Specified by:
rowUpdatedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowInserted
public boolean rowInserted() throws java.sql.SQLException- Specified by:
rowInsertedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowDeleted
public boolean rowDeleted() throws java.sql.SQLException- Specified by:
rowDeletedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(int column) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(int column, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(int column, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(int column, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(int column, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(int column, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(int column, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(int column, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(int column, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(int column, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(int column, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(int column, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(int column, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(int column, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int column, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int column, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int column, java.io.Reader x, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int column, java.lang.Object x, int scale) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int column, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(java.lang.String columnName) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(java.lang.String columnName, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(java.lang.String columnName, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(java.lang.String columnName, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(java.lang.String columnName, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(java.lang.String columnName, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(java.lang.String columnName, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(java.lang.String columnName, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(java.lang.String columnName, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(java.lang.String columnName, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(java.lang.String columnName, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(java.lang.String columnName, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.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:
updateBinaryStreamin interfacejava.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:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnName, java.io.Reader x, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.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:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnName, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnName, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
insertRow
public void insertRow() throws java.sql.SQLException- Specified by:
insertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRow
public void updateRow() throws java.sql.SQLException- Specified by:
updateRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
deleteRow
public void deleteRow() throws java.sql.SQLException- Specified by:
deleteRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
refreshRow
public void refreshRow() throws java.sql.SQLException- Specified by:
refreshRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
cancelRowUpdates
public void cancelRowUpdates() throws java.sql.SQLException- Specified by:
cancelRowUpdatesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToInsertRow
public void moveToInsertRow() throws java.sql.SQLException- Specified by:
moveToInsertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToCurrentRow
public void moveToCurrentRow() throws java.sql.SQLException- Specified by:
moveToCurrentRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getStatement
public java.sql.Statement getStatement() throws java.sql.SQLExceptionRetrieves theStatementobject that produced this object, ornullif theResultSetwas not produced by aStatementobject.- Specified by:
getStatementin interfacejava.sql.ResultSet- Returns:
- the
Statementthat produced this object ornull - Throws:
java.sql.SQLException- if a database error occurs or the result set is closed
-
getURL
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(java.lang.String columnName, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob x) throws java.sql.SQLExceptionUpdates the designated column with ajava.sql.Blobvalue. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- the new column value- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateBlob
public void updateBlob(java.lang.String columnName, java.sql.Blob x) throws java.sql.SQLExceptionUpdates the designated column with ajava.sql.Blobvalue. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Parameters:
columnName- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLExceptionUpdates the designated column using the given input stream, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- An object that contains the data to set the parameter value to.length- the number of bytes in the parameter data.- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateBlob
public void updateBlob(java.lang.String columnName, java.io.InputStream x, long length) throws java.sql.SQLExceptionUpdates the designated column using the given input stream, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Parameters:
columnName- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- An object that contains the data to set the parameter value to.length- the number of bytes in the parameter data.- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateArray
public void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(java.lang.String columnName, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setValidCursorPosition
public void setValidCursorPosition(boolean isValidCursorPosition)
-
listenToUnitOfWork
public void listenToUnitOfWork()
- Specified by:
listenToUnitOfWorkin interfaceUnitOfWorkListener
-
completeLocalCommit
public void completeLocalCommit(java.util.Iterator listenerIterator)
- Specified by:
completeLocalCommitin interfaceUnitOfWorkListener
-
completeLocalRollback
public void completeLocalRollback(java.util.Iterator listenerIterator)
- Specified by:
completeLocalRollbackin interfaceUnitOfWorkListener
-
markClosedOnServer
public void markClosedOnServer()
Mark this ResultSet as closed on the server.
-
earlyCloseComplete
public void earlyCloseComplete(Sqlca sqlca)
- Specified by:
earlyCloseCompletein interfaceResultSetCallbackInterface
-
completeSqlca
public int completeSqlca(Sqlca sqlca)
- Specified by:
completeSqlcain interfaceResultSetCallbackInterface
-
setRowCountEvent
public void setRowCountEvent(long rowCount) throws DisconnectException- Throws:
DisconnectException
-
accumulateWarning
public void accumulateWarning(SqlWarning e)
- Specified by:
accumulateWarningin interfaceResultSetCallbackInterface
-
getRSReturnability
public byte getRSReturnability()
-
setRSReturnability
public void setRSReturnability(byte rsReturnability)
-
writeFetch_
public abstract void writeFetch_(Section section) throws SqlException
- Throws:
SqlException
-
readFetch_
public abstract void readFetch_() throws SqlException- Throws:
SqlException
-
writeScrollableFetch_
public abstract void writeScrollableFetch_(Section section, int fetchSize, int orientation, long rowToFetch, boolean resetQueryBlocks) throws SqlException
- Throws:
SqlException
-
readScrollableFetch_
public abstract void readScrollableFetch_() throws SqlException- Throws:
SqlException
-
writePositioningFetch_
public abstract void writePositioningFetch_(Section section, int orientation, long rowToFetch) throws SqlException
- Throws:
SqlException
-
readPositioningFetch_
public abstract void readPositioningFetch_() throws SqlException- Throws:
SqlException
-
writeCursorClose_
public abstract void writeCursorClose_(Section section) throws SqlException
- Throws:
SqlException
-
readCursorClose_
public abstract void readCursorClose_() throws SqlException- Throws:
SqlException
-
setFetchSize_
public abstract void setFetchSize_(int rows)
-
getConnectionCallbackInterface
public ConnectionCallbackInterface getConnectionCallbackInterface()
- Specified by:
getConnectionCallbackInterfacein interfaceResultSetCallbackInterface
-
getStatementCallbackInterface
public StatementCallbackInterface getStatementCallbackInterface()
- Specified by:
getStatementCallbackInterfacein interfaceResultSetCallbackInterface
-
expandRowsetSqlca
public void expandRowsetSqlca()
-
getHoldability
public final int getHoldability() throws java.sql.SQLExceptionRetrieves the holdability for thisResultSetobject.- Specified by:
getHoldabilityin interfacejava.sql.ResultSet- Returns:
- either
ResultSet.HOLD_CURSORS_OVER_COMMITorResultSet.CLOSE_CURSORS_AT_COMMIT - Throws:
java.sql.SQLException- if a database error occurs
-
isClosed
public final boolean isClosed() throws java.sql.SQLExceptionChecks whether thisResultSetobject has been closed, either automatically or becauseclose()has been called.- Specified by:
isClosedin interfacejava.sql.ResultSet- Returns:
trueif theResultSetis closed,falseotherwise- Throws:
java.sql.SQLException- if a database error occurs
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLExceptionUpdates the designated column with an ascii stream value. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- the new column value- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLExceptionUpdate a column with an ascii stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- the new column valuelength- the length of the stream- Throws:
java.sql.SQLException- if a database-access error occurs
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLExceptionUpdates the designated column with a binary stream value. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- the new column value- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLExceptionUpdate a column with a binary stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- the new column valuelength- the length of the stream- Throws:
java.sql.SQLException- if a database-access error occurs
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream x) throws java.sql.SQLExceptionUpdates the designated column using the given input stream. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- the new column value- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader reader) throws java.sql.SQLExceptionUpdates the designated column with a character stream value. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...reader- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLExceptionUpdate a column with a character stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- the new column valuelength- the length of the stream- Throws:
java.sql.SQLException- if a database-access error occurs
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLExceptionUpdates the designated column using the givenReaderobject. The data will be read from the stream as needed until end-of-stream is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateClobin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...reader- an object that contains the data to set the parameter value to.- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream x) throws java.sql.SQLExceptionUpdates the designated column with an ascii stream value. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Parameters:
columnName- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, long length) throws java.sql.SQLExceptionUpdate a column with an ascii stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Parameters:
columnName- the name of the columnx- the new column valuelength- of the stream- Throws:
java.sql.SQLException- if a database-access error occurs
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLExceptionUpdates the designated column with a binary stream value. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, long length) throws java.sql.SQLExceptionUpdate a column with a binary stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Parameters:
columnName- the name of the columnx- the new column valuelength- of the stream- Throws:
java.sql.SQLException- if a database-access error occurs
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLExceptionUpdates the designated column using the given input stream. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLExceptionUpdates the designated column with a character stream value. The data will be read from the stream as needed until end-of-stream is reached. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnreader- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, long length) throws java.sql.SQLExceptionUpdate a column with a character stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Parameters:
columnName- the name of the columnreader- the new column valuelength- length of the stream- Throws:
java.sql.SQLException- if a database-access error occurs
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLExceptionUpdates the designated column using the givenReaderobject. The data will be read from the stream as needed until end-of-stream is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateClobin interfacejava.sql.ResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnreader- an object that contains the data to set the parameter value to.- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateClob
public void updateClob(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLExceptionUpdates the designated column using the givenReaderobject, which is the given number of characters long. When a very large UNICODE value is input to aLONGVARCHARparameter, it may be more practical to send it via ajava.io.Readerobject. The JDBC driver will do any necessary conversion from UNICODE to the database char format.The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the
updateRoworinsertRowmethods are called to update the database.- Specified by:
updateClobin interfacejava.sql.ResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...x- An object that contains the data to set the parameter value to.length- the number of characters in the parameter data.- Throws:
java.sql.SQLException- if the columnIndex is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result setjava.sql.SQLFeatureNotSupportedException- if the JDBC driver does not support this method
-
updateClob
public void updateClob(java.lang.String columnName, java.io.Reader x, long length) throws java.sql.SQLExceptionUpdates the designated column using the givenReaderobject, which is the given number of characters long. When a very large UNICODE value is input to aLONGVARCHARparameter, it may be more practical to send it via ajava.io.Readerobject. The JDBC driver will do any necessary conversion from UNICODE to the database char format.The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the
updateRoworinsertRowmethods are called to update the database.- Specified by:
updateClobin interfacejava.sql.ResultSet- Parameters:
columnName- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- An object that contains the data to set the parameter value to.length- the number of characters in the parameter data.- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result setjava.sql.SQLFeatureNotSupportedException- if the JDBC driver does not support this method
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob x) throws java.sql.SQLExceptionUpdates the designated column with ajava.sql.Clobvalue. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateClobin interfacejava.sql.ResultSet- Parameters:
columnIndex- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
updateClob
public void updateClob(java.lang.String columnLabel, java.sql.Clob x) throws java.sql.SQLExceptionUpdates the designated column with ajava.sql.Clobvalue. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead theupdateRoworinsertRowmethods are called to update the database.- Specified by:
updateClobin interfacejava.sql.ResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnx- the new column value- Throws:
java.sql.SQLException- if the columnLabel is not valid; if a database access error occurs; the result set concurrency isCONCUR_READ_ONLYor this method is called on a closed result set
-
markLOBAsPublished
public final void markLOBAsPublished(int index)
Marks the LOB at the specified column as published.When a LOB is marked as published, the release mechanism will not be invoked by the result set. It is expected that the code accessing the LOB releases the locator when it is done with the LOB, or that the commit/rollback handles the release.
- Parameters:
index- 1-based column index
-
getNCharacterStream
public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(int columnIndex) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(java.lang.String columnName, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(int columnIndex, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(java.lang.String columnName, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnName, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnName, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(int i) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(java.lang.String colName) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(java.lang.String colName) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(java.lang.String columnName, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> interfaces) throws java.sql.SQLExceptionReturns false unlessinterfacesis implemented- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Parameters:
interfaces- a Class defining an interface.- Returns:
- true if this implements the interface or directly or indirectly wraps an object that does.
- Throws:
java.sql.SQLException- if an error occurs while determining whether this is a wrapper for an object with the given interface.
-
unwrap
public <T> T unwrap(java.lang.Class<T> interfaces) throws java.sql.SQLExceptionReturnsthisif this class implements the interface- Specified by:
unwrapin interfacejava.sql.Wrapper- Parameters:
interfaces- a Class defining an interface- Returns:
- an object that implements the interface
- Throws:
java.sql.SQLException- if no object if found that implements the interface
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLExceptionUpdates the designated column with a java.sql.NClob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.- Specified by:
updateNClobin interfacejava.sql.ResultSet- Parameters:
columnIndex- - the first column is 1, the second is 2x- - the new column value- Throws:
java.sql.SQLException- Feature not implemented for now.
-
updateNClob
public void updateNClob(java.lang.String columnName, java.io.InputStream x, long length) throws java.sql.SQLExceptionUpdates the designated column with a java.sql.NClob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.- Parameters:
columnName- - the name of the Clob columnx- - the new column value- Throws:
java.sql.SQLException- Feature not implemented for now.
-
updateNClob
public void updateNClob(java.lang.String columnName, java.io.Reader x, long length) throws java.sql.SQLExceptionUpdates the designated column with a java.sql.NClob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.- Specified by:
updateNClobin interfacejava.sql.ResultSet- Parameters:
columnName- - the name of the Clob columnx- - the new column value- Throws:
java.sql.SQLException- Feature not implemented for now.
-
getObject
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLExceptionRetrieve the column as an object of the desired type.- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public <T> T getObject(java.lang.String columnName, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG