- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper,FBObjectListener.FetcherListener,FirebirdResultSet
ResultSet.
This class is internal API of Jaybird. Future versions may radically change, move, or make inaccessible this type.
For the public API, refer to the ResultSet and FirebirdResultSet interfaces.
- Author:
- David Jencks, Roman Rokytskyy, Mark Rotteveel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @Nullable FBConnectionprotected final @Nullable GDSHelperprotected @Nullable RowValueprotected final RowDescriptorFields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE -
Constructor Summary
ConstructorsConstructorDescriptionFBResultSet(RowDescriptor rowDescriptor, @Nullable FBConnection connection, List<RowValue> rows, @Nullable FBObjectListener.ResultSetListener listener, boolean retrieveBlobs) Creates a FBResultSet with the columns specified byrowDescriptorand the data inrows.FBResultSet(RowDescriptor rowDescriptor, List<RowValue> rows) Creates a FBResultSet with the columns specified byrowDescriptorand the data inrows.FBResultSet(AbstractStatement statement, @Nullable FBObjectListener.ResultSetListener listener, boolean metaDataQuery) Creates a newFBResultSetinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanabsolute(int row) voidvoidvoidprotected voidCheck if statement is open and prepare statement for cursor move.protected voidCheck if ResultSet is open.protected voidChecks if the result set is scrollablevoidvoidclose()protected voidClose the fields if they were open (applies mainly to the stream fields).voidintfindColumn(String columnName) booleanfirst()@Nullable ArraygetArray(int i) @Nullable Arrayfinal @Nullable InputStreamgetAsciiStream(int columnIndex) final @Nullable InputStreamgetAsciiStream(String columnName) @Nullable BigDecimalgetBigDecimal(int columnIndex) @Nullable BigDecimalgetBigDecimal(int columnIndex, int scale) Deprecated.@Nullable BigDecimalgetBigDecimal(String columnName) @Nullable BigDecimalgetBigDecimal(String columnName, int scale) Deprecated.@Nullable InputStreamgetBinaryStream(int columnIndex) @Nullable InputStreamgetBinaryStream(String columnName) @Nullable BlobgetBlob(int columnIndex) @Nullable BlobbooleangetBoolean(int columnIndex) booleangetBoolean(String columnName) bytegetByte(int columnIndex) bytebyte @Nullable []getBytes(int columnIndex) byte @Nullable []@Nullable ReadergetCharacterStream(int columnIndex) @Nullable ReadergetCharacterStream(String columnName) @Nullable ClobgetClob(int i) @Nullable Clobint@Nullable String@Nullable DategetDate(int columnIndex) @Nullable Date@Nullable Date@Nullable DatedoublegetDouble(int columnIndex) double@Nullable StringGet execution plan for the specified result set.@Nullable StringGet detailed execution plan for the specified result set.intintgetField(int columnIndex) Get theFBFieldobject at the given column indexgetField(int columnIndex, boolean checkRowPosition) Factory method for the field access objectsGet aFBFieldby name.floatgetFloat(int columnIndex) floatintintgetInt(int columnIndex) intlonggetLong(int columnIndex) long@Nullable ReadergetNCharacterStream(int columnIndex) @Nullable ReadergetNCharacterStream(String columnLabel) @Nullable NClobgetNClob(int columnIndex) @Nullable NClob@Nullable StringgetNString(int columnIndex) @Nullable StringgetNString(String columnLabel) @Nullable ObjectgetObject(int columnIndex) <T extends @Nullable Object>
@Nullable T@Nullable Object@Nullable Object<T extends @Nullable Object>
@Nullable T@Nullable Object@Nullable RefgetRef(int i) @Nullable RefintgetRow()@Nullable RowIdgetRowId(int columnIndex) @Nullable RowIdshortgetShort(int columnIndex) short@Nullable SQLXMLgetSQLXML(int columnIndex) @Nullable SQLXML@Nullable Statement@Nullable StringgetString(int columnIndex) @Nullable String@Nullable TimegetTime(int columnIndex) @Nullable Time@Nullable Time@Nullable Time@Nullable TimestampgetTimestamp(int columnIndex) @Nullable TimestampgetTimestamp(int columnIndex, @Nullable Calendar cal) @Nullable TimestampgetTimestamp(String columnName) @Nullable TimestampgetTimestamp(String columnName, @Nullable Calendar cal) intgetType()@Nullable InputStreamgetUnicodeStream(int columnIndex) Deprecated.@Nullable InputStreamgetUnicodeStream(String columnName) Deprecated.@Nullable URLgetURL(int param1) @Nullable URL@Nullable SQLWarningvoidbooleanbooleanbooleanisClosed()booleanisFirst()booleanisLast()booleanisWrapperFor(Class<?> iface) booleanlast()voidvoidbooleannext()booleanprevious()voidbooleanrelative(int rows) voidrowChanged(FBFetcher fetcher, @Nullable RowValue newRow) Notify listener that underlying row was changed.booleanbooleanbooleanvoidsetFetchDirection(int direction) voidsetFetchSize(int rows) <T> TvoidupdateArray(int param1, @Nullable Array param2) voidupdateArray(String param1, @Nullable Array param2) final voidupdateAsciiStream(int columnIndex, @Nullable InputStream x) final voidupdateAsciiStream(int columnIndex, @Nullable InputStream x, int length) final voidupdateAsciiStream(int columnIndex, @Nullable InputStream x, long length) final voidupdateAsciiStream(String columnLabel, @Nullable InputStream x) final voidupdateAsciiStream(String columnName, @Nullable InputStream x, int length) final voidupdateAsciiStream(String columnLabel, @Nullable InputStream x, long length) voidupdateBigDecimal(int columnIndex, @Nullable BigDecimal x) voidupdateBigDecimal(String columnName, @Nullable BigDecimal x) voidupdateBinaryStream(int columnIndex, @Nullable InputStream x) voidupdateBinaryStream(int columnIndex, @Nullable InputStream x, int length) voidupdateBinaryStream(int columnIndex, @Nullable InputStream x, long length) voidupdateBinaryStream(String columnLabel, @Nullable InputStream x) voidupdateBinaryStream(String columnName, @Nullable InputStream x, int length) voidupdateBinaryStream(String columnLabel, @Nullable InputStream x, long length) voidupdateBlob(int columnIndex, @Nullable InputStream inputStream) voidupdateBlob(int columnIndex, @Nullable InputStream inputStream, long length) voidupdateBlob(int columnIndex, @Nullable Blob blob) voidupdateBlob(String columnLabel, @Nullable InputStream inputStream) voidupdateBlob(String columnLabel, @Nullable InputStream inputStream, long length) voidupdateBlob(String columnLabel, @Nullable Blob blob) voidupdateBoolean(int columnIndex, boolean x) voidupdateBoolean(String columnName, boolean x) voidupdateByte(int columnIndex, byte x) voidupdateByte(String columnName, byte x) voidupdateBytes(int columnIndex, byte @Nullable [] x) voidupdateBytes(String columnName, byte @Nullable [] x) voidupdateCharacterStream(int columnIndex, @Nullable Reader x) voidupdateCharacterStream(int columnIndex, @Nullable Reader x, int length) voidupdateCharacterStream(int columnIndex, @Nullable Reader x, long length) voidupdateCharacterStream(String columnLabel, @Nullable Reader reader) voidupdateCharacterStream(String columnName, @Nullable Reader reader, int length) voidupdateCharacterStream(String columnLabel, @Nullable Reader reader, long length) voidupdateClob(int columnIndex, @Nullable Reader reader) voidupdateClob(int columnIndex, @Nullable Reader reader, long length) voidupdateClob(int columnIndex, @Nullable Clob clob) voidupdateClob(String columnLabel, @Nullable Reader reader) voidupdateClob(String columnLabel, @Nullable Reader reader, long length) voidupdateClob(String columnLabel, @Nullable Clob clob) voidupdateDate(int columnIndex, @Nullable Date x) voidupdateDate(String columnName, @Nullable Date x) voidupdateDouble(int columnIndex, double x) voidupdateDouble(String columnName, double x) voidupdateFloat(int columnIndex, float x) voidupdateFloat(String columnName, float x) voidupdateInt(int columnIndex, int x) voidvoidupdateLong(int columnIndex, long x) voidupdateLong(String columnName, long x) voidupdateNCharacterStream(int columnIndex, @Nullable Reader x) voidupdateNCharacterStream(int columnIndex, @Nullable Reader x, long length) voidupdateNCharacterStream(String columnLabel, @Nullable Reader reader) voidupdateNCharacterStream(String columnLabel, @Nullable Reader reader, long length) voidupdateNClob(int columnIndex, @Nullable Reader reader) voidupdateNClob(int columnIndex, @Nullable Reader reader, long length) voidupdateNClob(int columnIndex, @Nullable NClob clob) voidupdateNClob(String columnLabel, @Nullable Reader reader) voidupdateNClob(String columnLabel, @Nullable Reader reader, long length) voidupdateNClob(String columnLabel, @Nullable NClob clob) voidupdateNString(int columnIndex, @Nullable String string) voidupdateNString(String columnLabel, @Nullable String string) voidupdateNull(int columnIndex) voidupdateNull(String columnName) voidupdateObject(int columnIndex, @Nullable Object x) voidupdateObject(int columnIndex, @Nullable Object x, int scaleOrLength) voidupdateObject(int columnIndex, @Nullable Object x, SQLType targetSqlType) voidupdateObject(int columnIndex, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) voidupdateObject(String columnName, @Nullable Object x) voidupdateObject(String columnName, @Nullable Object x, int scaleOrLength) voidupdateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType) voidupdateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) voidvoidvoidvoidupdateRowId(int columnIndex, @Nullable RowId x) voidupdateRowId(String columnLabel, @Nullable RowId x) voidupdateShort(int columnIndex, short x) voidupdateShort(String columnName, short x) voidupdateSQLXML(int columnIndex, @Nullable SQLXML xmlObject) voidupdateSQLXML(String columnLabel, @Nullable SQLXML xmlObject) voidupdateString(int columnIndex, @Nullable String x) voidupdateString(String columnName, @Nullable String x) voidupdateTime(int columnIndex, @Nullable Time x) voidupdateTime(String columnName, @Nullable Time x) voidupdateTimestamp(int columnIndex, @Nullable Timestamp x) voidupdateTimestamp(String columnName, @Nullable Timestamp x) booleanwasNull()
-
Field Details
-
connection
-
gdsHelper
-
rowDescriptor
-
row
-
-
Constructor Details
-
FBResultSet
public FBResultSet(AbstractStatement statement, @Nullable FBObjectListener.ResultSetListener listener, boolean metaDataQuery) throws SQLException Creates a newFBResultSetinstance.- Throws:
SQLException
-
FBResultSet
Creates a FBResultSet with the columns specified byrowDescriptorand the data inrows.This constructor is intended for metadata result sets, but can be used for other purposes as well.
Current implementation will ensure that strings will be trimmed on retrieval.
- Parameters:
rowDescriptor- column definitionrows- row data- Throws:
SQLException
-
FBResultSet
public FBResultSet(RowDescriptor rowDescriptor, @Nullable FBConnection connection, List<RowValue> rows, @Nullable FBObjectListener.ResultSetListener listener, boolean retrieveBlobs) throws SQLException Creates a FBResultSet with the columns specified byrowDescriptorand the data inrows.Current implementation will ensure that strings will be trimmed on retrieval.
- Parameters:
rowDescriptor- column definitionconnection- connection (cannot benullwhenretrieveBlobsistruerows- row datalistener- result set listenerretrieveBlobs-trueretrieves the blob data- Throws:
SQLException- Since:
- 5.0.1
-
-
Method Details
-
rowChanged
Description copied from interface:FBObjectListener.FetcherListenerNotify listener that underlying row was changed.The default implementation does nothing.
- Specified by:
rowChangedin interfaceFBObjectListener.FetcherListener- Parameters:
fetcher- instance ofFBFetcherthat caused this eventnewRow- new row- Throws:
SQLException
-
checkCursorMove
Check if statement is open and prepare statement for cursor move.- Throws:
SQLException- if statement is closed.
-
checkOpen
Check if ResultSet is open.- Throws:
SQLException- if ResultSet is closed.
-
checkScrollable
Checks if the result set is scrollable- Throws:
SQLException- if ResultSet is not scrollable
-
closeFields
Close the fields if they were open (applies mainly to the stream fields).- Throws:
SQLException- if something wrong happened.
-
next
- Specified by:
nextin interfaceResultSet- Throws:
SQLException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceResultSet- Throws:
SQLException
-
isClosed
- Specified by:
isClosedin interfaceResultSet- Throws:
SQLException
-
wasNull
- Specified by:
wasNullin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
Implementation note: works identical to
getBinaryStream(int).- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getBoolean
- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getShort
- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getString
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getNString
Implementation note: This method behaves exactly the same as
getString(int).- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
@Deprecated(since="1") public @Nullable InputStream getUnicodeStream(int columnIndex) throws SQLException Deprecated.Method is no longer supported since Jaybird 3.0.For old behavior use
getBinaryStream(int). For JDBC suggested behavior, usegetCharacterStream(int).- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- AlwaysSQLException
-
getNCharacterStream
Implementation note: This method behaves exactly the same as
getCharacterStream(int).- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getField
Get theFBFieldobject at the given column index- Parameters:
columnIndex- The index of the parameter, 1 is the first index- Throws:
SQLException- If there is an error accessing the field
-
getField
Factory method for the field access objects- Throws:
SQLException
-
getField
Get aFBFieldby name.- Parameters:
columnName- The name of the field to be retrieved- Throws:
SQLException- if the field cannot be retrieved
-
getBigDecimal
@Deprecated(since="1") public @Nullable BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException Deprecated.Implementation note: ignores
scaleand behaves identical togetBigDecimal(int).- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getString
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getNString
Implementation note: This method behaves exactly the same as
getString(String).- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
@Deprecated(since="1") public @Nullable BigDecimal getBigDecimal(String columnName, int scale) throws SQLException Deprecated.Implementation note: ignores
scaleand behaves identical togetBigDecimal(String).- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
Implementation note: works identical to
getBinaryStream(String).- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
@Deprecated(since="1") public @Nullable InputStream getUnicodeStream(String columnName) throws SQLException Deprecated.Method is no longer supported since Jaybird 3.0.For old behavior use
getBinaryStream(String). For JDBC suggested behavior, usegetCharacterStream(String).- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- AlwaysSQLException
-
getNCharacterStream
Implementation note: This method behaves exactly the same as
getCharacterStream(String).- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getWarnings
If connection property
reportSQLWarningsis set toNONE(case-insensitive), this method will not report warnings and always returnnull.NOTE: The implementation currently always returns
nullas warnings are never recorded for result sets.- Specified by:
getWarningsin interfaceResultSet- Throws:
SQLException
-
clearWarnings
- Specified by:
clearWarningsin interfaceResultSet- Throws:
SQLException
-
getCursorName
- Specified by:
getCursorNamein interfaceResultSet- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaDatain interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
findColumn
- Specified by:
findColumnin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
isBeforeFirst
- Specified by:
isBeforeFirstin interfaceResultSet- Throws:
SQLException
-
isAfterLast
- Specified by:
isAfterLastin interfaceResultSet- Throws:
SQLException
-
isFirst
- Specified by:
isFirstin interfaceResultSet- Throws:
SQLException
-
isLast
- Specified by:
isLastin interfaceResultSet- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirstin interfaceResultSet- Throws:
SQLException
-
afterLast
- Specified by:
afterLastin interfaceResultSet- Throws:
SQLException
-
first
- Specified by:
firstin interfaceResultSet- Throws:
SQLException
-
last
- Specified by:
lastin interfaceResultSet- Throws:
SQLException
-
getRow
- Specified by:
getRowin interfaceResultSet- Throws:
SQLException
-
absolute
- Specified by:
absolutein interfaceResultSet- Throws:
SQLException
-
relative
- Specified by:
relativein interfaceResultSet- Throws:
SQLException
-
previous
- Specified by:
previousin interfaceResultSet- Throws:
SQLException
-
setFetchDirection
- Specified by:
setFetchDirectionin interfaceResultSet- Throws:
SQLException
-
getFetchDirection
- Specified by:
getFetchDirectionin interfaceResultSet- Throws:
SQLException
-
setFetchSize
- Specified by:
setFetchSizein interfaceResultSet- Throws:
SQLException
-
getFetchSize
- Specified by:
getFetchSizein interfaceResultSet- Throws:
SQLException
-
getType
- Specified by:
getTypein interfaceResultSet- Throws:
SQLException
-
getConcurrency
- Specified by:
getConcurrencyin interfaceResultSet- Throws:
SQLException
-
getHoldability
- Specified by:
getHoldabilityin interfaceResultSet- Throws:
SQLException
-
rowUpdated
- Specified by:
rowUpdatedin interfaceResultSet- Throws:
SQLException
-
rowInserted
- Specified by:
rowInsertedin interfaceResultSet- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeletedin interfaceResultSet- Throws:
SQLException
-
updateNull
- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateShort
- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateInt
- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateLong
- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateDouble
- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateString
- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateDate
- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateTime
- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, @Nullable InputStream x, long length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, @Nullable InputStream x, long length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, @Nullable Object x, int scaleOrLength) throws SQLException Jaybird delegates to
updateObject(int, Object)and ignores the value ofscaleOrLength, ifxis anything other than aReaderorInputStream.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException Jaybird delegates to
updateObject(int, Object, int)and ignores the value oftargetSqlType.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, @Nullable Object x, SQLType targetSqlType) throws SQLException Jaybird delegates to
updateObject(int, Object)and ignores the value oftargetSqlType- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateNull
- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateShort
- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateInt
- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateLong
- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateDouble
- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateString
- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateNString
Implementation note: This method behaves exactly the same as
updateString(int, String).- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNString
Implementation note: This method behaves exactly the same as
updateString(String, String).- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateDate
- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateTime
- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public final void updateAsciiStream(int columnIndex, @Nullable InputStream x, int length) throws SQLException Implementation note: works identical to
updateBinaryStream(int, InputStream, int).- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public final void updateAsciiStream(String columnName, @Nullable InputStream x, int length) throws SQLException Implementation note: works identical to
updateBinaryStream(String, InputStream, int).- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public final void updateAsciiStream(int columnIndex, @Nullable InputStream x, long length) throws SQLException Implementation note: works identical to
updateBinaryStream(int, InputStream, long).- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
Implementation note: works identical to
updateBinaryStream(int, InputStream).- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public final void updateAsciiStream(String columnLabel, @Nullable InputStream x, long length) throws SQLException Implementation note: works identical to
updateBinaryStream(String, InputStream, long).- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public final void updateAsciiStream(String columnLabel, @Nullable InputStream x) throws SQLException Implementation note: works identical to
updateBinaryStream(String, InputStream).- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, @Nullable Reader x, int length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, @Nullable Reader x, long length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnName, @Nullable Reader reader, int length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, @Nullable Reader x, long length) throws SQLException Implementation note: This method behaves exactly the same as
updateCharacterStream(int, Reader, long).- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
Implementation note: This method behaves exactly the same as
updateCharacterStream(int, Reader).- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, @Nullable Reader reader, long length) throws SQLException Implementation note: This method behaves exactly the same as
updateClob(String, Reader, long).- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
Implementation note: This method behaves exactly the same as
updateCharacterStream(String, Reader).- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String columnName, @Nullable Object x, int scaleOrLength) throws SQLException Jaybird delegates to
updateObject(String, Object)and ignores the value ofscaleOrLength, ifxis anything other than aReaderorInputStream.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException Jaybird delegates to
updateObject(String, Object, int)and ignores the value oftargetSqlType.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType) throws SQLException Jaybird delegates to
updateObject(String, Object)and ignores the value oftargetSqlType.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
insertRow
- Specified by:
insertRowin interfaceResultSet- Throws:
SQLException
-
updateRow
- Specified by:
updateRowin interfaceResultSet- Throws:
SQLException
-
deleteRow
- Specified by:
deleteRowin interfaceResultSet- Throws:
SQLException
-
refreshRow
- Specified by:
refreshRowin interfaceResultSet- Throws:
SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdatesin interfaceResultSet- Throws:
SQLException
-
moveToInsertRow
- Specified by:
moveToInsertRowin interfaceResultSet- Throws:
SQLException
-
moveToCurrentRow
- Specified by:
moveToCurrentRowin interfaceResultSet- Throws:
SQLException
-
getStatement
- Specified by:
getStatementin interfaceResultSet
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
public @Nullable Timestamp getTimestamp(int columnIndex, @Nullable Calendar cal) throws SQLException - Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getTimestamp
public @Nullable Timestamp getTimestamp(String columnName, @Nullable Calendar cal) throws SQLException - Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getURL
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getURL
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getObject
public <T extends @Nullable Object> @Nullable T getObject(int columnIndex, Class<T> type) throws SQLException - Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
public <T extends @Nullable Object> @Nullable T getObject(String columnLabel, Class<T> type) throws SQLException - Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
updateRef
- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateRef
- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateArray
- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
updateArray
- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
getNClob
Implementation note: This method behaves exactly the same as
getClob(int).- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getNClob
Implementation note: This method behaves exactly the same as
getClob(String).- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getRowId
- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getRowId
- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(int, Clob).- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(int, Reader, long).- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(int, Reader).- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(String, Clob).- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, @Nullable Reader reader, long length) throws SQLException Implementation note: This method behaves exactly the same as
updateClob(int, Reader, long).- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(String, Reader).- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
getExecutionPlan
Description copied from interface:FirebirdResultSetGet execution plan for the specified result set.- Specified by:
getExecutionPlanin interfaceFirebirdResultSet- Returns:
- execution plan for this query.
- Throws:
SQLException- if execution plan cannot be obtained or this result set is already closed.- See Also:
-
getExplainedExecutionPlan
Description copied from interface:FirebirdResultSetGet detailed execution plan for the specified result set.- Specified by:
getExplainedExecutionPlanin interfaceFirebirdResultSet- Returns:
- detailed execution plan for this query.
- Throws:
SQLException- if detailed execution plan cannot be obtained or this result set is already closed.- See Also:
-
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-