- 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 FBConnection
protected final @Nullable GDSHelper
protected @Nullable RowValue
protected final RowDescriptor
Fields 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 byrowDescriptor
and the data inrows
.FBResultSet
(RowDescriptor rowDescriptor, List<RowValue> rows) Creates a FBResultSet with the columns specified byrowDescriptor
and the data inrows
.FBResultSet
(AbstractStatement statement, @Nullable FBObjectListener.ResultSetListener listener, boolean metaDataQuery) Creates a newFBResultSet
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
absolute
(int row) void
void
void
protected void
Check if statement is open and prepare statement for cursor move.protected void
Check if ResultSet is open.protected void
Checks if the result set is scrollablevoid
void
close()
protected void
Close the fields if they were open (applies mainly to the stream fields).void
int
findColumn
(String columnName) boolean
first()
@Nullable Array
getArray
(int i) @Nullable Array
final @Nullable InputStream
getAsciiStream
(int columnIndex) final @Nullable InputStream
getAsciiStream
(String columnName) @Nullable BigDecimal
getBigDecimal
(int columnIndex) @Nullable BigDecimal
getBigDecimal
(int columnIndex, int scale) Deprecated.@Nullable BigDecimal
getBigDecimal
(String columnName) @Nullable BigDecimal
getBigDecimal
(String columnName, int scale) Deprecated.@Nullable InputStream
getBinaryStream
(int columnIndex) @Nullable InputStream
getBinaryStream
(String columnName) @Nullable Blob
getBlob
(int columnIndex) @Nullable Blob
boolean
getBoolean
(int columnIndex) boolean
getBoolean
(String columnName) byte
getByte
(int columnIndex) byte
byte @Nullable []
getBytes
(int columnIndex) byte @Nullable []
@Nullable Reader
getCharacterStream
(int columnIndex) @Nullable Reader
getCharacterStream
(String columnName) @Nullable Clob
getClob
(int i) @Nullable Clob
int
@Nullable String
@Nullable Date
getDate
(int columnIndex) @Nullable Date
@Nullable Date
@Nullable Date
double
getDouble
(int columnIndex) double
@Nullable String
Get execution plan for the specified result set.@Nullable String
Get detailed execution plan for the specified result set.int
int
getField
(int columnIndex) Get theFBField
object at the given column indexgetField
(int columnIndex, boolean checkRowPosition) Factory method for the field access objectsGet aFBField
by name.float
getFloat
(int columnIndex) float
int
int
getInt
(int columnIndex) int
long
getLong
(int columnIndex) long
@Nullable Reader
getNCharacterStream
(int columnIndex) @Nullable Reader
getNCharacterStream
(String columnLabel) @Nullable NClob
getNClob
(int columnIndex) @Nullable NClob
@Nullable String
getNString
(int columnIndex) @Nullable String
getNString
(String columnLabel) @Nullable Object
getObject
(int columnIndex) <T extends @Nullable Object>
@Nullable T@Nullable Object
@Nullable Object
<T extends @Nullable Object>
@Nullable T@Nullable Object
@Nullable Ref
getRef
(int i) @Nullable Ref
int
getRow()
@Nullable RowId
getRowId
(int columnIndex) @Nullable RowId
short
getShort
(int columnIndex) short
@Nullable SQLXML
getSQLXML
(int columnIndex) @Nullable SQLXML
@Nullable Statement
@Nullable String
getString
(int columnIndex) @Nullable String
@Nullable Time
getTime
(int columnIndex) @Nullable Time
@Nullable Time
@Nullable Time
@Nullable Timestamp
getTimestamp
(int columnIndex) @Nullable Timestamp
getTimestamp
(int columnIndex, @Nullable Calendar cal) @Nullable Timestamp
getTimestamp
(String columnName) @Nullable Timestamp
getTimestamp
(String columnName, @Nullable Calendar cal) int
getType()
@Nullable InputStream
getUnicodeStream
(int columnIndex) Deprecated.@Nullable InputStream
getUnicodeStream
(String columnName) Deprecated.@Nullable URL
getURL
(int param1) @Nullable URL
@Nullable SQLWarning
void
boolean
boolean
boolean
isClosed()
boolean
isFirst()
boolean
isLast()
boolean
isWrapperFor
(Class<?> iface) boolean
last()
void
void
boolean
next()
boolean
previous()
void
boolean
relative
(int rows) void
rowChanged
(FBFetcher fetcher, @Nullable RowValue newRow) Notify listener that underlying row was changed.boolean
boolean
boolean
void
setFetchDirection
(int direction) void
setFetchSize
(int rows) <T> T
void
updateArray
(int param1, @Nullable Array param2) void
updateArray
(String param1, @Nullable Array param2) final void
updateAsciiStream
(int columnIndex, @Nullable InputStream x) final void
updateAsciiStream
(int columnIndex, @Nullable InputStream x, int length) final void
updateAsciiStream
(int columnIndex, @Nullable InputStream x, long length) final void
updateAsciiStream
(String columnLabel, @Nullable InputStream x) final void
updateAsciiStream
(String columnName, @Nullable InputStream x, int length) final void
updateAsciiStream
(String columnLabel, @Nullable InputStream x, long length) void
updateBigDecimal
(int columnIndex, @Nullable BigDecimal x) void
updateBigDecimal
(String columnName, @Nullable BigDecimal x) void
updateBinaryStream
(int columnIndex, @Nullable InputStream x) void
updateBinaryStream
(int columnIndex, @Nullable InputStream x, int length) void
updateBinaryStream
(int columnIndex, @Nullable InputStream x, long length) void
updateBinaryStream
(String columnLabel, @Nullable InputStream x) void
updateBinaryStream
(String columnName, @Nullable InputStream x, int length) void
updateBinaryStream
(String columnLabel, @Nullable InputStream x, long length) void
updateBlob
(int columnIndex, @Nullable InputStream inputStream) void
updateBlob
(int columnIndex, @Nullable InputStream inputStream, long length) void
updateBlob
(int columnIndex, @Nullable Blob blob) void
updateBlob
(String columnLabel, @Nullable InputStream inputStream) void
updateBlob
(String columnLabel, @Nullable InputStream inputStream, long length) void
updateBlob
(String columnLabel, @Nullable Blob blob) void
updateBoolean
(int columnIndex, boolean x) void
updateBoolean
(String columnName, boolean x) void
updateByte
(int columnIndex, byte x) void
updateByte
(String columnName, byte x) void
updateBytes
(int columnIndex, byte @Nullable [] x) void
updateBytes
(String columnName, byte @Nullable [] x) void
updateCharacterStream
(int columnIndex, @Nullable Reader x) void
updateCharacterStream
(int columnIndex, @Nullable Reader x, int length) void
updateCharacterStream
(int columnIndex, @Nullable Reader x, long length) void
updateCharacterStream
(String columnLabel, @Nullable Reader reader) void
updateCharacterStream
(String columnName, @Nullable Reader reader, int length) void
updateCharacterStream
(String columnLabel, @Nullable Reader reader, long length) void
updateClob
(int columnIndex, @Nullable Reader reader) void
updateClob
(int columnIndex, @Nullable Reader reader, long length) void
updateClob
(int columnIndex, @Nullable Clob clob) void
updateClob
(String columnLabel, @Nullable Reader reader) void
updateClob
(String columnLabel, @Nullable Reader reader, long length) void
updateClob
(String columnLabel, @Nullable Clob clob) void
updateDate
(int columnIndex, @Nullable Date x) void
updateDate
(String columnName, @Nullable Date x) void
updateDouble
(int columnIndex, double x) void
updateDouble
(String columnName, double x) void
updateFloat
(int columnIndex, float x) void
updateFloat
(String columnName, float x) void
updateInt
(int columnIndex, int x) void
void
updateLong
(int columnIndex, long x) void
updateLong
(String columnName, long x) void
updateNCharacterStream
(int columnIndex, @Nullable Reader x) void
updateNCharacterStream
(int columnIndex, @Nullable Reader x, long length) void
updateNCharacterStream
(String columnLabel, @Nullable Reader reader) void
updateNCharacterStream
(String columnLabel, @Nullable Reader reader, long length) void
updateNClob
(int columnIndex, @Nullable Reader reader) void
updateNClob
(int columnIndex, @Nullable Reader reader, long length) void
updateNClob
(int columnIndex, @Nullable NClob clob) void
updateNClob
(String columnLabel, @Nullable Reader reader) void
updateNClob
(String columnLabel, @Nullable Reader reader, long length) void
updateNClob
(String columnLabel, @Nullable NClob clob) void
updateNString
(int columnIndex, @Nullable String string) void
updateNString
(String columnLabel, @Nullable String string) void
updateNull
(int columnIndex) void
updateNull
(String columnName) void
updateObject
(int columnIndex, @Nullable Object x) void
updateObject
(int columnIndex, @Nullable Object x, int scaleOrLength) void
updateObject
(int columnIndex, @Nullable Object x, SQLType targetSqlType) void
updateObject
(int columnIndex, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) void
updateObject
(String columnName, @Nullable Object x) void
updateObject
(String columnName, @Nullable Object x, int scaleOrLength) void
updateObject
(String columnLabel, @Nullable Object x, SQLType targetSqlType) void
updateObject
(String columnLabel, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) void
void
void
void
updateRowId
(int columnIndex, @Nullable RowId x) void
updateRowId
(String columnLabel, @Nullable RowId x) void
updateShort
(int columnIndex, short x) void
updateShort
(String columnName, short x) void
updateSQLXML
(int columnIndex, @Nullable SQLXML xmlObject) void
updateSQLXML
(String columnLabel, @Nullable SQLXML xmlObject) void
updateString
(int columnIndex, @Nullable String x) void
updateString
(String columnName, @Nullable String x) void
updateTime
(int columnIndex, @Nullable Time x) void
updateTime
(String columnName, @Nullable Time x) void
updateTimestamp
(int columnIndex, @Nullable Timestamp x) void
updateTimestamp
(String columnName, @Nullable Timestamp x) boolean
wasNull()
-
Field Details
-
connection
-
gdsHelper
-
rowDescriptor
-
row
-
-
Constructor Details
-
FBResultSet
public FBResultSet(AbstractStatement statement, @Nullable FBObjectListener.ResultSetListener listener, boolean metaDataQuery) throws SQLException Creates a newFBResultSet
instance.- Throws:
SQLException
-
FBResultSet
Creates a FBResultSet with the columns specified byrowDescriptor
and 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 byrowDescriptor
and the data inrows
.Current implementation will ensure that strings will be trimmed on retrieval.
- Parameters:
rowDescriptor
- column definitionconnection
- connection (cannot benull
whenretrieveBlobs
istrue
rows
- row datalistener
- result set listenerretrieveBlobs
-true
retrieves the blob data- Throws:
SQLException
- Since:
- 5.0.1
-
-
Method Details
-
rowChanged
Description copied from interface:FBObjectListener.FetcherListener
Notify listener that underlying row was changed.The default implementation does nothing.
- Specified by:
rowChanged
in interfaceFBObjectListener.FetcherListener
- Parameters:
fetcher
- instance ofFBFetcher
that 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:
next
in interfaceResultSet
- Throws:
SQLException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResultSet
- Throws:
SQLException
-
isClosed
- Specified by:
isClosed
in interfaceResultSet
- Throws:
SQLException
-
wasNull
- Specified by:
wasNull
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
Implementation note: works identical to
getBinaryStream(int)
.- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getBoolean
- Specified by:
getBoolean
in interfaceResultSet
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceResultSet
- Throws:
SQLException
-
getNString
Implementation note: This method behaves exactly the same as
getString(int)
.- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in 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:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLFeatureNotSupportedException
- AlwaysSQLException
-
getNCharacterStream
Implementation note: This method behaves exactly the same as
getCharacterStream(int)
.- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getField
Get theFBField
object 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 aFBField
by 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
scale
and behaves identical togetBigDecimal(int)
.- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceResultSet
- Throws:
SQLException
-
getNString
Implementation note: This method behaves exactly the same as
getString(String)
.- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getBoolean
- Specified by:
getBoolean
in interfaceResultSet
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
@Deprecated(since="1") public @Nullable BigDecimal getBigDecimal(String columnName, int scale) throws SQLException Deprecated.Implementation note: ignores
scale
and behaves identical togetBigDecimal(String)
.- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
Implementation note: works identical to
getBinaryStream(String)
.- Specified by:
getAsciiStream
in 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:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLFeatureNotSupportedException
- AlwaysSQLException
-
getNCharacterStream
Implementation note: This method behaves exactly the same as
getCharacterStream(String)
.- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getWarnings
If connection property
reportSQLWarnings
is set toNONE
(case-insensitive), this method will not report warnings and always returnnull
.NOTE: The implementation currently always returns
null
as warnings are never recorded for result sets.- Specified by:
getWarnings
in interfaceResultSet
- Throws:
SQLException
-
clearWarnings
- Specified by:
clearWarnings
in interfaceResultSet
- Throws:
SQLException
-
getCursorName
- Specified by:
getCursorName
in interfaceResultSet
- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaData
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
findColumn
- Specified by:
findColumn
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
isBeforeFirst
- Specified by:
isBeforeFirst
in interfaceResultSet
- Throws:
SQLException
-
isAfterLast
- Specified by:
isAfterLast
in interfaceResultSet
- Throws:
SQLException
-
isFirst
- Specified by:
isFirst
in interfaceResultSet
- Throws:
SQLException
-
isLast
- Specified by:
isLast
in interfaceResultSet
- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirst
in interfaceResultSet
- Throws:
SQLException
-
afterLast
- Specified by:
afterLast
in interfaceResultSet
- Throws:
SQLException
-
first
- Specified by:
first
in interfaceResultSet
- Throws:
SQLException
-
last
- Specified by:
last
in interfaceResultSet
- Throws:
SQLException
-
getRow
- Specified by:
getRow
in interfaceResultSet
- Throws:
SQLException
-
absolute
- Specified by:
absolute
in interfaceResultSet
- Throws:
SQLException
-
relative
- Specified by:
relative
in interfaceResultSet
- Throws:
SQLException
-
previous
- Specified by:
previous
in interfaceResultSet
- Throws:
SQLException
-
setFetchDirection
- Specified by:
setFetchDirection
in interfaceResultSet
- Throws:
SQLException
-
getFetchDirection
- Specified by:
getFetchDirection
in interfaceResultSet
- Throws:
SQLException
-
setFetchSize
- Specified by:
setFetchSize
in interfaceResultSet
- Throws:
SQLException
-
getFetchSize
- Specified by:
getFetchSize
in interfaceResultSet
- Throws:
SQLException
-
getType
- Specified by:
getType
in interfaceResultSet
- Throws:
SQLException
-
getConcurrency
- Specified by:
getConcurrency
in interfaceResultSet
- Throws:
SQLException
-
getHoldability
- Specified by:
getHoldability
in interfaceResultSet
- Throws:
SQLException
-
rowUpdated
- Specified by:
rowUpdated
in interfaceResultSet
- Throws:
SQLException
-
rowInserted
- Specified by:
rowInserted
in interfaceResultSet
- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeleted
in interfaceResultSet
- Throws:
SQLException
-
updateNull
- Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateByte
- Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateShort
- Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateInt
- Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateLong
- Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
- Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateString
- Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateDate
- Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateTime
- Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestamp
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, @Nullable InputStream x, long length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, @Nullable InputStream x, long length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in 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
, ifx
is anything other than aReader
orInputStream
.- Specified by:
updateObject
in 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:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in 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:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateNull
- Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateByte
- Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateShort
- Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateInt
- Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateLong
- Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
- Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateString
- Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateNString
Implementation note: This method behaves exactly the same as
updateString(int, String)
.- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNString
Implementation note: This method behaves exactly the same as
updateString(String, String)
.- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateDate
- Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateTime
- Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestamp
in 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:
updateAsciiStream
in 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:
updateAsciiStream
in 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:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
Implementation note: works identical to
updateBinaryStream(int, InputStream)
.- Specified by:
updateAsciiStream
in 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:
updateAsciiStream
in 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:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, @Nullable Reader x, int length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, @Nullable Reader x, long length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnName, @Nullable Reader reader, int length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStream
in 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:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
Implementation note: This method behaves exactly the same as
updateCharacterStream(int, Reader)
.- Specified by:
updateNCharacterStream
in 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:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
Implementation note: This method behaves exactly the same as
updateCharacterStream(String, Reader)
.- Specified by:
updateNCharacterStream
in 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
, ifx
is anything other than aReader
orInputStream
.- Specified by:
updateObject
in 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:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in 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:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
insertRow
- Specified by:
insertRow
in interfaceResultSet
- Throws:
SQLException
-
updateRow
- Specified by:
updateRow
in interfaceResultSet
- Throws:
SQLException
-
deleteRow
- Specified by:
deleteRow
in interfaceResultSet
- Throws:
SQLException
-
refreshRow
- Specified by:
refreshRow
in interfaceResultSet
- Throws:
SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdates
in interfaceResultSet
- Throws:
SQLException
-
moveToInsertRow
- Specified by:
moveToInsertRow
in interfaceResultSet
- Throws:
SQLException
-
moveToCurrentRow
- Specified by:
moveToCurrentRow
in interfaceResultSet
- Throws:
SQLException
-
getStatement
- Specified by:
getStatement
in interfaceResultSet
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getRef
- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getRef
- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
public @Nullable Timestamp getTimestamp(int columnIndex, @Nullable Calendar cal) throws SQLException - Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
public @Nullable Timestamp getTimestamp(String columnName, @Nullable Calendar cal) throws SQLException - Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getObject
public <T extends @Nullable Object> @Nullable T getObject(int columnIndex, Class<T> type) throws SQLException - Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
public <T extends @Nullable Object> @Nullable T getObject(String columnLabel, Class<T> type) throws SQLException - Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
updateRef
- Specified by:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateRef
- Specified by:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateArray
- Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
updateArray
- Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
getNClob
Implementation note: This method behaves exactly the same as
getClob(int)
.- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
Implementation note: This method behaves exactly the same as
getClob(String)
.- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getRowId
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getRowId
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(int, Clob)
.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(int, Reader, long)
.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(int, Reader)
.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(String, Clob)
.- Specified by:
updateNClob
in 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:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
Implementation note: This method behaves exactly the same as
updateClob(String, Reader)
.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getExecutionPlan
Description copied from interface:FirebirdResultSet
Get execution plan for the specified result set.- Specified by:
getExecutionPlan
in 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:FirebirdResultSet
Get detailed execution plan for the specified result set.- Specified by:
getExplainedExecutionPlan
in 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:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-