Package org.mariadb.jdbc.client.result
Class Result
- java.lang.Object
-
- org.mariadb.jdbc.client.result.Result
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.sql.ResultSet,java.sql.Wrapper,Completion,ServerMessage
- Direct Known Subclasses:
CompleteResult,StreamingResult
public abstract class Result extends java.lang.Object implements java.sql.ResultSet, Completion
Result-set common
-
-
Field Summary
Fields Modifier and Type Field Description private static BinaryRowDecoderBINARY_ROW_DECODERprotected booleanclosedis result-set closedprivate booleancloseOnCompletionprotected Contextcontextconnection contextprotected byte[][]datarowsprotected intdataSizedata sizeprotected ExceptionFactoryexceptionFactoryconnection exception factoryprivate intfetchSizeprotected MutableIntfieldIndexmutable field indexprivate MutableIntfieldLengthprivate booleanforceAliasprotected booleanloadedis fully loadedprivate java.util.Map<java.lang.String,java.lang.Integer>mapperprivate intmaxIndexprotected longmaxRowsrow number limitprotected ColumnDecoder[]metadataListcolumns metadatastatic intNULL_LENGTHnull length valueprivate byte[]nullBitmapprotected booleanoutputParameteris an output parameter result-setprotected Readerreaderpacket readerprotected intresultSetTyperesult-set typeprotected StandardReadableByteBufrowBufreusable row buffer decoderprotected RowDecoderrowDecoderbinary/text row decoderprotected introwPointercurrent row pointerprotected java.sql.Statementstatementstatement that initiate this resultprivate static TextRowDecoderTEXT_ROW_DECODERprotected booleantraceEnable
-
Constructor Summary
Constructors Modifier Constructor Description Result(ColumnDecoder[] metadataList, byte[][] data, Context context, int resultSetType)Internal constructed result-setprotectedResult(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
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidabort()Aborting result-set, without any consideration for connection state.abstract booleanabsolute(int row)protected voidaddRowData(byte[] buf)Add a rowabstract voidafterLast()abstract voidbeforeFirst()voidcancelRowUpdates()protected voidcheckClose()Verify that result-set is not closed, throwing an exception if closedprivate voidcheckIndex(int index)protected voidcheckNotForwardOnly()Throw an exception if result-set type is ResultSet.TYPE_FORWARD_ONLYvoidclearWarnings()voidclose()Close current result-setvoidcloseFromStmtClose(ClosableLock lock)Closing result-set due to closing statement that issue command.voidcloseOnCompletion()voiddeleteRow()abstract voidfetchRemaining()Fetch remaining results.intfindColumn(java.lang.String label)abstract booleanfirst()java.sql.ArraygetArray(int columnIndex)java.sql.ArraygetArray(java.lang.String columnLabel)java.io.InputStreamgetAsciiStream(int columnIndex)java.io.InputStreamgetAsciiStream(java.lang.String columnLabel)java.math.BigDecimalgetBigDecimal(int columnIndex)java.math.BigDecimalgetBigDecimal(int columnIndex, int scale)Deprecated.java.math.BigDecimalgetBigDecimal(java.lang.String columnLabel)java.math.BigDecimalgetBigDecimal(java.lang.String columnLabel, int scale)Deprecated.java.math.BigIntegergetBigInteger(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a BigInteger.java.math.BigIntegergetBigInteger(java.lang.String columnLabel)Retrieves the value of the designated column in the current row of this ResultSet object as a BigInteger.java.io.InputStreamgetBinaryStream(int columnIndex)java.io.InputStreamgetBinaryStream(java.lang.String columnLabel)java.sql.BlobgetBlob(int columnIndex)java.sql.BlobgetBlob(java.lang.String columnLabel)booleangetBoolean(int columnIndex)booleangetBoolean(java.lang.String columnLabel)bytegetByte(int columnIndex)bytegetByte(java.lang.String columnLabel)byte[]getBytes(int columnIndex)byte[]getBytes(java.lang.String columnLabel)java.io.ReadergetCharacterStream(int columnIndex)java.io.ReadergetCharacterStream(java.lang.String columnLabel)java.sql.ClobgetClob(int columnIndex)java.sql.ClobgetClob(java.lang.String columnLabel)intgetConcurrency()protected byte[]getCurrentRowData()return current row RAW datajava.lang.StringgetCursorName()java.sql.DategetDate(int columnIndex)java.sql.DategetDate(int columnIndex, java.util.Calendar cal)java.sql.DategetDate(java.lang.String columnLabel)java.sql.DategetDate(java.lang.String columnLabel, java.util.Calendar cal)doublegetDouble(int columnIndex)doublegetDouble(java.lang.String columnLabel)intgetFetchDirection()intgetFetchSize()floatgetFloat(int columnIndex)floatgetFloat(java.lang.String columnLabel)intgetHoldability()intgetInt(int columnIndex)intgetInt(java.lang.String columnLabel)longgetLong(int columnIndex)longgetLong(java.lang.String columnLabel)ResultSetMetaDatagetMetaData()java.io.ReadergetNCharacterStream(int columnIndex)java.io.ReadergetNCharacterStream(java.lang.String columnLabel)java.sql.NClobgetNClob(int columnIndex)java.sql.NClobgetNClob(java.lang.String columnLabel)java.lang.StringgetNString(int columnIndex)java.lang.StringgetNString(java.lang.String columnLabel)java.lang.ObjectgetObject(int columnIndex)<T> TgetObject(int columnIndex, java.lang.Class<T> type)java.lang.ObjectgetObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map)java.lang.ObjectgetObject(java.lang.String columnLabel)<T> TgetObject(java.lang.String columnLabel, java.lang.Class<T> type)java.lang.ObjectgetObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map)java.sql.RefgetRef(int columnIndex)java.sql.RefgetRef(java.lang.String columnLabel)abstract intgetRow()java.sql.RowIdgetRowId(int columnIndex)java.sql.RowIdgetRowId(java.lang.String columnLabel)shortgetShort(int columnIndex)shortgetShort(java.lang.String columnLabel)java.sql.SQLXMLgetSQLXML(int columnIndex)java.sql.SQLXMLgetSQLXML(java.lang.String columnLabel)java.sql.StatementgetStatement()java.lang.StringgetString(int columnIndex)java.lang.StringgetString(java.lang.String columnLabel)java.sql.TimegetTime(int columnIndex)java.sql.TimegetTime(int columnIndex, java.util.Calendar cal)java.sql.TimegetTime(java.lang.String columnLabel)java.sql.TimegetTime(java.lang.String columnLabel, java.util.Calendar cal)java.sql.TimestampgetTimestamp(int columnIndex)java.sql.TimestampgetTimestamp(int columnIndex, java.util.Calendar cal)java.sql.TimestampgetTimestamp(java.lang.String columnLabel)java.sql.TimestampgetTimestamp(java.lang.String columnLabel, java.util.Calendar cal)intgetType()java.io.InputStreamgetUnicodeStream(int columnIndex)Deprecated.java.io.InputStreamgetUnicodeStream(java.lang.String columnLabel)Deprecated.java.net.URLgetURL(int columnIndex)java.net.URLgetURL(java.lang.String columnLabel)java.sql.SQLWarninggetWarnings()private voidgrowDataArray()Grow data array.voidinsertRow()abstract booleanisAfterLast()booleanisBeforeFirst()abstract booleanisBulkResult()Indicate if result-set is a bulk unitary resultbooleanisClosed()abstract booleanisFirst()abstract booleanisLast()booleanisOutputParameter()Does result-set contain output parametersbooleanisWrapperFor(java.lang.Class<?> iface)abstract booleanlast()booleanloaded()Is result-set fully loaded or still streamingvoidmoveToCurrentRow()voidmoveToInsertRow()abstract booleannext()Position resultset to next rowabstract booleanprevious()protected booleanreadNext(byte[] buf)Read new rowvoidrefreshRow()abstract booleanrelative(int rows)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()abstract voidsetBulkResult()Indicate that result is a bulk resultvoidsetFetchDirection(int direction)voidsetFetchSize(int fetchSize)protected voidsetNullRowBuf()Set row buffer to null (no row)voidsetRow(byte[] row)set row decoder to current row datavoidsetStatement(java.sql.Statement stmt)Update statement that initiate this result-setprotected voidskipRemaining()Skip remaining rows to keep connection state ok, without needing remaining data.abstract booleanstreaming()Indicate of current result-set is a streaming result-set<T> Tunwrap(java.lang.Class<T> iface)voidupdateArray(int columnIndex, java.sql.Array x)voidupdateArray(java.lang.String columnLabel, java.sql.Array x)voidupdateAsciiStream(int columnIndex, java.io.InputStream x)voidupdateAsciiStream(int columnIndex, java.io.InputStream x, int length)voidupdateAsciiStream(int columnIndex, java.io.InputStream x, long length)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, int length)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)voidupdateBigDecimal(int columnIndex, java.math.BigDecimal x)voidupdateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal x)voidupdateBinaryStream(int columnIndex, java.io.InputStream x)voidupdateBinaryStream(int columnIndex, java.io.InputStream x, int length)voidupdateBinaryStream(int columnIndex, java.io.InputStream x, long length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)voidupdateBlob(int columnIndex, java.io.InputStream inputStream)voidupdateBlob(int columnIndex, java.io.InputStream inputStream, long length)voidupdateBlob(int columnIndex, java.sql.Blob x)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)voidupdateBlob(java.lang.String columnLabel, java.sql.Blob x)voidupdateBoolean(int columnIndex, boolean x)voidupdateBoolean(java.lang.String columnLabel, boolean x)voidupdateByte(int columnIndex, byte x)voidupdateByte(java.lang.String columnLabel, byte x)voidupdateBytes(int columnIndex, byte[] x)voidupdateBytes(java.lang.String columnLabel, byte[] x)voidupdateCharacterStream(int columnIndex, java.io.Reader x)voidupdateCharacterStream(int columnIndex, java.io.Reader x, int length)voidupdateCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.io.Reader reader)voidupdateClob(int columnIndex, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.sql.Clob x)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(java.lang.String columnLabel, java.sql.Clob x)voidupdateDate(int columnIndex, java.sql.Date x)voidupdateDate(java.lang.String columnLabel, java.sql.Date x)voidupdateDouble(int columnIndex, double x)voidupdateDouble(java.lang.String columnLabel, double x)voidupdateFloat(int columnIndex, float x)voidupdateFloat(java.lang.String columnLabel, float x)voidupdateInt(int columnIndex, int x)voidupdateInt(java.lang.String columnLabel, int x)voidupdateLong(int columnIndex, long x)voidupdateLong(java.lang.String columnLabel, long x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.io.Reader reader)voidupdateNClob(int columnIndex, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.sql.NClob nClob)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(java.lang.String columnLabel, java.sql.NClob nClob)voidupdateNString(int columnIndex, java.lang.String nString)voidupdateNString(java.lang.String columnLabel, java.lang.String nString)voidupdateNull(int columnIndex)voidupdateNull(java.lang.String columnLabel)voidupdateObject(int columnIndex, java.lang.Object x)voidupdateObject(int columnIndex, java.lang.Object x, int scaleOrLength)voidupdateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType)voidupdateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength)voidupdateObject(java.lang.String columnLabel, java.lang.Object x)voidupdateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength)voidupdateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType)voidupdateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength)voidupdateRef(int columnIndex, java.sql.Ref x)voidupdateRef(java.lang.String columnLabel, java.sql.Ref x)voidupdateRow()protected voidupdateRowData(byte[] rawData)Update current rowvoidupdateRowId(int columnIndex, java.sql.RowId x)voidupdateRowId(java.lang.String columnLabel, java.sql.RowId x)voidupdateShort(int columnIndex, short x)voidupdateShort(java.lang.String columnLabel, short x)voidupdateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)voidupdateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)voidupdateString(int columnIndex, java.lang.String x)voidupdateString(java.lang.String columnLabel, java.lang.String x)voidupdateTime(int columnIndex, java.sql.Time x)voidupdateTime(java.lang.String columnLabel, java.sql.Time x)voidupdateTimestamp(int columnIndex, java.sql.Timestamp x)voidupdateTimestamp(java.lang.String columnLabel, java.sql.Timestamp x)booleanwasNull()has last data getter return a null value
-
-
-
Field Detail
-
NULL_LENGTH
public static final int NULL_LENGTH
null length value- See Also:
- Constant Field Values
-
BINARY_ROW_DECODER
private static final BinaryRowDecoder BINARY_ROW_DECODER
-
TEXT_ROW_DECODER
private static final TextRowDecoder TEXT_ROW_DECODER
-
resultSetType
protected final int resultSetType
result-set type
-
exceptionFactory
protected final ExceptionFactory exceptionFactory
connection exception factory
-
reader
protected final Reader reader
packet reader
-
context
protected final Context context
connection context
-
metadataList
protected final ColumnDecoder[] metadataList
columns metadata
-
rowDecoder
protected final RowDecoder rowDecoder
binary/text row decoder
-
rowBuf
protected final StandardReadableByteBuf rowBuf
reusable row buffer decoder
-
traceEnable
protected final boolean traceEnable
-
maxIndex
private final int maxIndex
-
fieldLength
private final MutableInt fieldLength
-
forceAlias
private final boolean forceAlias
-
nullBitmap
private final byte[] nullBitmap
-
dataSize
protected int dataSize
data size
-
data
protected byte[][] data
rows
-
fieldIndex
protected MutableInt fieldIndex
mutable field index
-
loaded
protected boolean loaded
is fully loaded
-
outputParameter
protected boolean outputParameter
is an output parameter result-set
-
rowPointer
protected int rowPointer
current row pointer
-
closed
protected boolean closed
is result-set closed
-
statement
protected java.sql.Statement statement
statement that initiate this result
-
maxRows
protected long maxRows
row number limit
-
closeOnCompletion
private boolean closeOnCompletion
-
mapper
private java.util.Map<java.lang.String,java.lang.Integer> mapper
-
fetchSize
private int fetchSize
-
-
Constructor Detail
-
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
protected Result(ColumnDecoder[] metadataList, Result prev)
-
Result
public Result(ColumnDecoder[] metadataList, byte[][] data, Context context, int resultSetType)
Internal constructed result-set- Parameters:
metadataList- column metadatadata- raw datacontext- connection contextresultSetType- result set type
-
-
Method Detail
-
readNext
protected boolean readNext(byte[] buf) throws java.io.IOException, java.sql.SQLExceptionRead new row- Parameters:
buf- packet buffer- Returns:
- true if fully loaded
- Throws:
java.io.IOException- if any socket error occursjava.sql.SQLException- for all other type of errors
-
setBulkResult
public abstract void setBulkResult()
Indicate that result is a bulk result
-
closeOnCompletion
public void closeOnCompletion() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
skipRemaining
protected void skipRemaining() throws java.io.IOException, java.sql.SQLExceptionSkip remaining rows to keep connection state ok, without needing remaining data.- Throws:
java.io.IOException- if socket error occursjava.sql.SQLException- for other kind of error
-
growDataArray
private void growDataArray()
Grow data array.
-
next
public abstract boolean next() throws java.sql.SQLExceptionPosition resultset to next row- Specified by:
nextin interfacejava.sql.ResultSet- Returns:
- true if next row exists
- Throws:
java.sql.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
public abstract void fetchRemaining() throws java.sql.SQLExceptionFetch remaining results.- Throws:
java.sql.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
public void close() throws java.sql.SQLExceptionClose current result-set- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException- if socket error occurs
-
closeFromStmtClose
public void closeFromStmtClose(ClosableLock lock) throws java.sql.SQLException
Closing result-set due to closing statement that issue command.- Parameters:
lock- thread locker object- Throws:
java.sql.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
private void checkIndex(int index) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
wasNull
public boolean wasNull()
has last data getter return a null value- Specified by:
wasNullin interfacejava.sql.ResultSet- Returns:
- true if was null
-
getString
public java.lang.String getString(int columnIndex) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public boolean getBoolean(int columnIndex) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(int columnIndex) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public short getShort(int columnIndex) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getInt
public int getInt(int columnIndex) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public long getLong(int columnIndex) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigInteger
public java.math.BigInteger getBigInteger(int columnIndex) throws java.sql.SQLExceptionRetrieves the value of the designated column in the current row of this ResultSet object as a BigInteger.- Parameters:
columnIndex- index- Returns:
- BigInteger value
- Throws:
java.sql.SQLException- if cannot be decoded as a BigInteger
-
getBigInteger
public java.math.BigInteger getBigInteger(java.lang.String columnLabel) throws java.sql.SQLExceptionRetrieves 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:
java.sql.SQLException- if cannot be decoded as a BigInteger
-
getFloat
public float getFloat(int columnIndex) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(int columnIndex) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(int columnIndex) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLExceptionDeprecated.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public boolean getBoolean(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public short getShort(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getInt
public int getInt(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public long getLong(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFloat
public float getFloat(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(java.lang.String columnLabel, int scale) throws java.sql.SQLExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(java.lang.String columnLabel) throws java.sql.SQLExceptionDeprecated.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException- Specified by:
getWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
clearWarnings
public void clearWarnings() throws java.sql.SQLException- Specified by:
clearWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException- Specified by:
getCursorNamein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getMetaData
public ResultSetMetaData getMetaData()
- Specified by:
getMetaDatain interfacejava.sql.ResultSet
-
getObject
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
checkClose
protected void checkClose() throws java.sql.SQLExceptionVerify that result-set is not closed, throwing an exception if closed- Throws:
java.sql.SQLException- if closed
-
checkNotForwardOnly
protected void checkNotForwardOnly() throws java.sql.SQLExceptionThrow an exception if result-set type is ResultSet.TYPE_FORWARD_ONLY- Throws:
java.sql.SQLException- throw error if type is ResultSet.TYPE_FORWARD_ONLY
-
isBeforeFirst
public boolean isBeforeFirst() throws java.sql.SQLException- Specified by:
isBeforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isAfterLast
public abstract boolean isAfterLast() throws java.sql.SQLException- Specified by:
isAfterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isFirst
public abstract boolean isFirst() throws java.sql.SQLException- Specified by:
isFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isLast
public abstract boolean isLast() throws java.sql.SQLException- Specified by:
isLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
beforeFirst
public abstract void beforeFirst() throws java.sql.SQLException- Specified by:
beforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
afterLast
public abstract void afterLast() throws java.sql.SQLException- Specified by:
afterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
first
public abstract boolean first() throws java.sql.SQLException- Specified by:
firstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
last
public abstract boolean last() throws java.sql.SQLException- Specified by:
lastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRow
public abstract int getRow() throws java.sql.SQLException- Specified by:
getRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setRow
public void setRow(byte[] row)
set row decoder to current row data- Parameters:
row- row
-
absolute
public abstract boolean absolute(int row) throws java.sql.SQLException- Specified by:
absolutein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
relative
public abstract boolean relative(int rows) throws java.sql.SQLException- Specified by:
relativein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
previous
public abstract boolean previous() throws java.sql.SQLException- Specified by:
previousin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchDirection
public int getFetchDirection()
- Specified by:
getFetchDirectionin interfacejava.sql.ResultSet
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
setFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getType
public int getType()
- Specified by:
getTypein interfacejava.sql.ResultSet
-
getConcurrency
public int getConcurrency()
- Specified by:
getConcurrencyin interfacejava.sql.ResultSet
-
rowUpdated
public boolean rowUpdated() throws java.sql.SQLException- Specified by:
rowUpdatedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowInserted
public boolean rowInserted() throws java.sql.SQLException- Specified by:
rowInsertedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowDeleted
public boolean rowDeleted() throws java.sql.SQLException- Specified by:
rowDeletedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(int columnIndex) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(int columnIndex, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(int columnIndex, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(int columnIndex, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(int columnIndex, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(int columnIndex, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(int columnIndex, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, int scaleOrLength) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(java.lang.String columnLabel, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(java.lang.String columnLabel, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(java.lang.String columnLabel, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(java.lang.String columnLabel, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(java.lang.String columnLabel, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(java.lang.String columnLabel, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(java.lang.String columnLabel, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(java.lang.String columnLabel, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(java.lang.String columnLabel, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(java.lang.String columnLabel, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(java.lang.String columnLabel, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
insertRow
public void insertRow() throws java.sql.SQLException- Specified by:
insertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRow
public void updateRow() throws java.sql.SQLException- Specified by:
updateRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
deleteRow
public void deleteRow() throws java.sql.SQLException- Specified by:
deleteRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
refreshRow
public void refreshRow() throws java.sql.SQLException- Specified by:
refreshRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
cancelRowUpdates
public void cancelRowUpdates() throws java.sql.SQLException- Specified by:
cancelRowUpdatesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToInsertRow
public void moveToInsertRow() throws java.sql.SQLException- Specified by:
moveToInsertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToCurrentRow
public void moveToCurrentRow() throws java.sql.SQLException- Specified by:
moveToCurrentRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatementin interfacejava.sql.ResultSet
-
setStatement
public void setStatement(java.sql.Statement stmt)
Update statement that initiate this result-set- Parameters:
stmt- statement
-
getObject
public java.lang.Object getObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(int columnIndex) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public java.sql.Blob getBlob(int columnIndex) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public java.sql.Clob getClob(int columnIndex) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(int columnIndex) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public java.sql.Blob getBlob(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public java.sql.Clob getClob(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(java.lang.String columnLabel, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob x) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.sql.Blob x) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob x) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.sql.Clob x) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(java.lang.String columnLabel, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(java.lang.String columnLabel, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getHoldability
public int getHoldability()
- Specified by:
getHoldabilityin interfacejava.sql.ResultSet
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfacejava.sql.ResultSet
-
updateNString
public void updateNString(int columnIndex, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(int columnIndex) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public <T> T getObject(java.lang.String columnLabel, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
unwrap
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> iface)
- Specified by:
isWrapperForin interfacejava.sql.Wrapper
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setNullRowBuf
protected void setNullRowBuf()
Set row buffer to null (no row)
-
findColumn
public int findColumn(java.lang.String label) throws java.sql.SQLException- Specified by:
findColumnin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- Specified by:
getFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchSize
public void setFetchSize(int fetchSize) throws java.sql.SQLException- Specified by:
setFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
-