Package org.mariadb.jdbc.client.result
Class Result
java.lang.Object
org.mariadb.jdbc.client.result.Result
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
,Completion
,ServerMessage
- Direct Known Subclasses:
CompleteResult
,StreamingResult
Result-set common
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final BinaryRowDecoder
protected boolean
is result-set closedprivate boolean
protected final Context
connection contextprotected byte[][]
rowsprotected int
data sizeprotected final ExceptionFactory
connection exception factoryprivate int
protected MutableInt
mutable field indexprivate final MutableInt
private final boolean
protected boolean
is fully loadedprivate final int
protected long
row number limitprotected final ColumnDecoder[]
columns metadatastatic final int
null length valueprivate final byte[]
protected boolean
is an output parameter result-setprotected final Reader
packet readerprotected final int
result-set typeprotected final StandardReadableByteBuf
reusable row buffer decoderprotected final RowDecoder
binary/text row decoderprotected int
current row pointerprotected Statement
statement that initiate this resultprivate static final TextRowDecoder
protected final boolean
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
ConstructorsModifierConstructorDescriptionResult
(ColumnDecoder[] metadataList, byte[][] data, Context context, int resultSetType) Internal constructed result-setprotected
Result
(ColumnDecoder[] metadataList, Result prev) Result
(Statement stmt, boolean binaryProtocol, long maxRows, ColumnDecoder[] metadataList, Reader reader, Context context, int resultSetType, boolean closeOnCompletion, boolean traceEnable, boolean forceAlias, int fetchSize) Constructor for server's data -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
Aborting result-set, without any consideration for connection state.abstract boolean
absolute
(int row) protected void
addRowData
(byte[] buf) Add a rowabstract void
abstract void
void
protected void
Verify that result-set is not closed, throwing an exception if closedprivate void
checkIndex
(int index) protected void
Throw an exception if result-set type is ResultSet.TYPE_FORWARD_ONLYvoid
void
close()
Close current result-setvoid
Closing result-set due to closing statement that issue command.void
void
abstract void
Fetch remaining results.int
findColumn
(String label) abstract boolean
first()
getArray
(int columnIndex) getAsciiStream
(int columnIndex) getAsciiStream
(String columnLabel) getBigDecimal
(int columnIndex) getBigDecimal
(int columnIndex, int scale) Deprecated.getBigDecimal
(String columnLabel) getBigDecimal
(String columnLabel, int scale) Deprecated.getBigInteger
(int columnIndex) Retrieves the value of the designated column in the current row of this ResultSet object as a BigInteger.getBigInteger
(String columnLabel) Retrieves the value of the designated column in the current row of this ResultSet object as a BigInteger.getBinaryStream
(int columnIndex) getBinaryStream
(String columnLabel) getBlob
(int columnIndex) boolean
getBoolean
(int columnIndex) boolean
getBoolean
(String columnLabel) byte
getByte
(int columnIndex) byte
byte[]
getBytes
(int columnIndex) byte[]
getCharacterStream
(int columnIndex) getCharacterStream
(String columnLabel) getClob
(int columnIndex) int
protected byte[]
return current row RAW datagetDate
(int columnIndex) double
getDouble
(int columnIndex) double
int
int
float
getFloat
(int columnIndex) float
int
int
getInt
(int columnIndex) int
long
getLong
(int columnIndex) long
getNCharacterStream
(int columnIndex) getNCharacterStream
(String columnLabel) getNClob
(int columnIndex) getNString
(int columnIndex) getNString
(String columnLabel) getObject
(int columnIndex) <T> T
<T> T
getRef
(int columnIndex) abstract int
getRow()
getRowId
(int columnIndex) short
getShort
(int columnIndex) short
getSQLXML
(int columnIndex) getString
(int columnIndex) getTime
(int columnIndex) getTimestamp
(int columnIndex) getTimestamp
(int columnIndex, Calendar cal) getTimestamp
(String columnLabel) getTimestamp
(String columnLabel, Calendar cal) int
getType()
getUnicodeStream
(int columnIndex) Deprecated.getUnicodeStream
(String columnLabel) Deprecated.getURL
(int columnIndex) private void
Grow data array.void
abstract boolean
boolean
abstract boolean
Indicate if result-set is a bulk unitary resultboolean
isClosed()
abstract boolean
isFirst()
abstract boolean
isLast()
boolean
Does result-set contain output parametersboolean
isWrapperFor
(Class<?> iface) abstract boolean
last()
boolean
loaded()
Is result-set fully loaded or still streamingvoid
void
abstract boolean
next()
Position resultset to next rowabstract boolean
previous()
protected boolean
readNext
(byte[] buf) Read new rowvoid
abstract boolean
relative
(int rows) boolean
boolean
boolean
abstract void
void
setFetchDirection
(int direction) void
setFetchSize
(int fetchSize) protected void
Set row buffer to null (no row)void
setRow
(byte[] row) set row decoder to current row datavoid
setStatement
(Statement stmt) Update statement that initiate this result-setprotected void
Skip remaining rows to keep connection state ok, without needing remaining data.abstract boolean
Indicate of current result-set is a streaming result-set<T> T
void
updateArray
(int columnIndex, Array x) void
updateArray
(String columnLabel, Array x) void
updateAsciiStream
(int columnIndex, InputStream x) void
updateAsciiStream
(int columnIndex, InputStream x, int length) void
updateAsciiStream
(int columnIndex, InputStream x, long length) void
updateAsciiStream
(String columnLabel, InputStream x) void
updateAsciiStream
(String columnLabel, InputStream x, int length) void
updateAsciiStream
(String columnLabel, InputStream x, long length) void
updateBigDecimal
(int columnIndex, BigDecimal x) void
updateBigDecimal
(String columnLabel, BigDecimal x) void
updateBinaryStream
(int columnIndex, InputStream x) void
updateBinaryStream
(int columnIndex, InputStream x, int length) void
updateBinaryStream
(int columnIndex, InputStream x, long length) void
updateBinaryStream
(String columnLabel, InputStream x) void
updateBinaryStream
(String columnLabel, InputStream x, int length) void
updateBinaryStream
(String columnLabel, InputStream x, long length) void
updateBlob
(int columnIndex, InputStream inputStream) void
updateBlob
(int columnIndex, InputStream inputStream, long length) void
updateBlob
(int columnIndex, Blob x) void
updateBlob
(String columnLabel, InputStream inputStream) void
updateBlob
(String columnLabel, InputStream inputStream, long length) void
updateBlob
(String columnLabel, Blob x) void
updateBoolean
(int columnIndex, boolean x) void
updateBoolean
(String columnLabel, boolean x) void
updateByte
(int columnIndex, byte x) void
updateByte
(String columnLabel, byte x) void
updateBytes
(int columnIndex, byte[] x) void
updateBytes
(String columnLabel, byte[] x) void
updateCharacterStream
(int columnIndex, Reader x) void
updateCharacterStream
(int columnIndex, Reader x, int length) void
updateCharacterStream
(int columnIndex, Reader x, long length) void
updateCharacterStream
(String columnLabel, Reader reader) void
updateCharacterStream
(String columnLabel, Reader reader, int length) void
updateCharacterStream
(String columnLabel, Reader reader, long length) void
updateClob
(int columnIndex, Reader reader) void
updateClob
(int columnIndex, Reader reader, long length) void
updateClob
(int columnIndex, Clob x) void
updateClob
(String columnLabel, Reader reader) void
updateClob
(String columnLabel, Reader reader, long length) void
updateClob
(String columnLabel, Clob x) void
updateDate
(int columnIndex, Date x) void
updateDate
(String columnLabel, Date x) void
updateDouble
(int columnIndex, double x) void
updateDouble
(String columnLabel, double x) void
updateFloat
(int columnIndex, float x) void
updateFloat
(String columnLabel, float x) void
updateInt
(int columnIndex, int x) void
void
updateLong
(int columnIndex, long x) void
updateLong
(String columnLabel, long x) void
updateNCharacterStream
(int columnIndex, Reader x) void
updateNCharacterStream
(int columnIndex, Reader x, long length) void
updateNCharacterStream
(String columnLabel, Reader reader) void
updateNCharacterStream
(String columnLabel, Reader reader, long length) void
updateNClob
(int columnIndex, Reader reader) void
updateNClob
(int columnIndex, Reader reader, long length) void
updateNClob
(int columnIndex, NClob nClob) void
updateNClob
(String columnLabel, Reader reader) void
updateNClob
(String columnLabel, Reader reader, long length) void
updateNClob
(String columnLabel, NClob nClob) void
updateNString
(int columnIndex, String nString) void
updateNString
(String columnLabel, String nString) void
updateNull
(int columnIndex) void
updateNull
(String columnLabel) void
updateObject
(int columnIndex, Object x) void
updateObject
(int columnIndex, Object x, int scaleOrLength) void
updateObject
(int columnIndex, Object x, SQLType targetSqlType) void
updateObject
(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) void
updateObject
(String columnLabel, Object x) void
updateObject
(String columnLabel, Object x, int scaleOrLength) void
updateObject
(String columnLabel, Object x, SQLType targetSqlType) void
updateObject
(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) void
void
void
protected void
updateRowData
(byte[] rawData) Update current rowvoid
updateRowId
(int columnIndex, RowId x) void
updateRowId
(String columnLabel, RowId x) void
updateShort
(int columnIndex, short x) void
updateShort
(String columnLabel, short x) void
updateSQLXML
(int columnIndex, SQLXML xmlObject) void
updateSQLXML
(String columnLabel, SQLXML xmlObject) void
updateString
(int columnIndex, String x) void
updateString
(String columnLabel, String x) void
updateTime
(int columnIndex, Time x) void
updateTime
(String columnLabel, Time x) void
updateTimestamp
(int columnIndex, Timestamp x) void
updateTimestamp
(String columnLabel, Timestamp x) boolean
wasNull()
has last data getter return a null value
-
Field Details
-
NULL_LENGTH
public static final int NULL_LENGTHnull length value- See Also:
-
BINARY_ROW_DECODER
-
TEXT_ROW_DECODER
-
resultSetType
protected final int resultSetTyperesult-set type -
exceptionFactory
connection exception factory -
reader
packet reader -
context
connection context -
metadataList
columns metadata -
rowDecoder
binary/text row decoder -
rowBuf
reusable row buffer decoder -
traceEnable
protected final boolean traceEnable -
maxIndex
private final int maxIndex -
fieldLength
-
forceAlias
private final boolean forceAlias -
nullBitmap
private final byte[] nullBitmap -
dataSize
protected int dataSizedata size -
data
protected byte[][] datarows -
fieldIndex
mutable field index -
loaded
protected boolean loadedis fully loaded -
outputParameter
protected boolean outputParameteris an output parameter result-set -
rowPointer
protected int rowPointercurrent row pointer -
closed
protected boolean closedis result-set closed -
statement
statement that initiate this result -
maxRows
protected long maxRowsrow number limit -
closeOnCompletion
private boolean closeOnCompletion -
mapper
-
fetchSize
private int fetchSize
-
-
Constructor Details
-
Result
public Result(Statement stmt, boolean binaryProtocol, long maxRows, ColumnDecoder[] metadataList, Reader reader, Context context, int resultSetType, boolean closeOnCompletion, boolean traceEnable, boolean forceAlias, int fetchSize) Constructor for server's data- Parameters:
stmt
- statement that initiate this resultbinaryProtocol
- binary encoded rowsmaxRows
- row number limitmetadataList
- columns metadatareader
- packet readercontext
- connection contextresultSetType
- result-set typecloseOnCompletion
- close statement on completiontraceEnable
- logger enabledforceAlias
- forced aliasfetchSize
- fetch size
-
Result
-
Result
Internal constructed result-set- Parameters:
metadataList
- column metadatadata
- raw datacontext
- connection contextresultSetType
- result set type
-
-
Method Details
-
readNext
Read new row- Parameters:
buf
- packet buffer- Returns:
- true if fully loaded
- Throws:
IOException
- if any socket error occursSQLException
- for all other type of errors
-
setBulkResult
public abstract void setBulkResult() -
closeOnCompletion
- Throws:
SQLException
-
skipRemaining
Skip remaining rows to keep connection state ok, without needing remaining data.- Throws:
IOException
- if socket error occursSQLException
- for other kind of error
-
growDataArray
private void growDataArray()Grow data array. -
next
Position resultset to next row- Specified by:
next
in interfaceResultSet
- Returns:
- true if next row exists
- Throws:
SQLException
- if any error occurs
-
streaming
public abstract boolean streaming()Indicate of current result-set is a streaming result-set- Returns:
- if streaming result-set
-
isBulkResult
public abstract boolean isBulkResult()Indicate if result-set is a bulk unitary result- Returns:
- true if unitary result-set
-
fetchRemaining
Fetch remaining results.- Throws:
SQLException
- if issue occurs during data retrieving
-
loaded
public boolean loaded()Is result-set fully loaded or still streaming- Returns:
- true if fully loaded
-
isOutputParameter
public boolean isOutputParameter()Does result-set contain output parameters- Returns:
- true if containing output parameters
-
close
Close current result-set- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResultSet
- Throws:
SQLException
- if socket error occurs
-
closeFromStmtClose
Closing result-set due to closing statement that issue command.- Parameters:
lock
- thread locker object- Throws:
SQLException
- if any error occurs
-
abort
public void abort()Aborting result-set, without any consideration for connection state. -
getCurrentRowData
protected byte[] getCurrentRowData()return current row RAW data- Returns:
- current row RAW data
-
addRowData
protected void addRowData(byte[] buf) Add a row- Parameters:
buf
- add row
-
updateRowData
protected void updateRowData(byte[] rawData) Update current row- Parameters:
rawData
- new row
-
checkIndex
- Throws:
SQLException
-
wasNull
public boolean wasNull()has last data getter return a null value -
getString
- Specified by:
getString
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
-
getBigInteger
Retrieves the value of the designated column in the current row of this ResultSet object as a BigInteger.- Parameters:
columnIndex
- index- Returns:
- BigInteger value
- Throws:
SQLException
- if cannot be decoded as a BigInteger
-
getBigInteger
Retrieves the value of the designated column in the current row of this ResultSet object as a BigInteger.- Parameters:
columnLabel
- column label- Returns:
- BigInteger value
- Throws:
SQLException
- if cannot be decoded as a BigInteger
-
getFloat
- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
Deprecated.- 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
- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
Deprecated.- Specified by:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getString
- Specified by:
getString
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.- 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
- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
Deprecated.- Specified by:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getWarnings
- 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
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
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
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
checkClose
Verify that result-set is not closed, throwing an exception if closed- Throws:
SQLException
- if closed
-
checkNotForwardOnly
Throw an exception if result-set type is ResultSet.TYPE_FORWARD_ONLY- Throws:
SQLException
- throw error if type is ResultSet.TYPE_FORWARD_ONLY
-
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
-
setRow
public void setRow(byte[] row) set row decoder to current row data- Parameters:
row
- row
-
absolute
- Specified by:
absolute
in interfaceResultSet
- Throws:
SQLException
-
relative
- Specified by:
relative
in interfaceResultSet
- Throws:
SQLException
-
previous
- Specified by:
previous
in interfaceResultSet
- Throws:
SQLException
-
getFetchDirection
public int getFetchDirection()- Specified by:
getFetchDirection
in interfaceResultSet
-
setFetchDirection
- Specified by:
setFetchDirection
in interfaceResultSet
- Throws:
SQLException
-
getType
public int getType() -
getConcurrency
public int getConcurrency()- Specified by:
getConcurrency
in interfaceResultSet
-
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
-
updateAsciiStream
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- 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
-
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
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- 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
-
setStatement
Update statement that initiate this result-set- Parameters:
stmt
- statement
-
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
-
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
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getURL
- Specified by:
getURL
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
-
updateClob
- 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
-
getRowId
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getRowId
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
getHoldability
public int getHoldability()- Specified by:
getHoldability
in interfaceResultSet
-
isClosed
public boolean isClosed() -
updateNString
- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNString
- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getNString
- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNString
- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException - Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException - Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- 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
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
setNullRowBuf
protected void setNullRowBuf()Set row buffer to null (no row) -
findColumn
- Specified by:
findColumn
in interfaceResultSet
- Throws:
SQLException
-
getFetchSize
- Specified by:
getFetchSize
in interfaceResultSet
- Throws:
SQLException
-
setFetchSize
- Specified by:
setFetchSize
in interfaceResultSet
- Throws:
SQLException
-