public class SoapResultSet extends SResultSet
ALLOW_OVERFLOW, columnKeys, columns, currentData, rowOffset, rowPage
Constructor and Description |
---|
SoapResultSet(org.w3c.dom.Document doc,
int rsCount,
Executor callback)
the result set
|
Modifier and Type | Method and Description |
---|---|
void |
close()
In some cases, it is desirable to immediately release a
ResultSet's database and JDBC resources instead of waiting for
this to happen when it is automatically closed; the close
method provides this immediate release.
|
protected Row |
fetchRow(int row) |
java.lang.Object[] |
getAttributeNames(int columnIndex)
Get the value of a column in the current row as a Java String.
|
java.lang.Object[] |
getAttributeNames(java.lang.String columnName)
Get the value of a column in the current row as a Java String.
|
java.lang.String |
getAttributeValue(int columnIndex,
java.lang.String key)
Get the cellAttributes
|
java.lang.String |
getAttributeValue(java.lang.String columnName,
java.lang.String key)
Get the cellAttributes
|
int |
getFetchDirection()
JDBC 2.0
Returns the fetch direction for this result set.
|
int |
getFetchSize()
JDBC 2.0
Returns the fetch size for this result set.
|
java.sql.ResultSetMetaData |
getMetaData()
The number, types and properties of a ResultSet's columns
are provided by the getMetaData method.
|
SoapResultSet |
getResultSet(int rsCount) |
java.lang.Object[] |
getRowAttributeNames()
Get the rowAttributes
|
java.lang.String |
getRowAttributevValue(java.lang.String key)
Get the rowAttributes
|
int |
getSetCount() |
java.lang.String |
getTitle(java.lang.String orginalCmds) |
int |
getUpdateCount() |
boolean |
hasResultSet(int rsCount) |
boolean |
isUpdateResult() |
SoapResultSet |
nextResultSet() |
void |
setFetchDirection(int fetchDirection) |
void |
setFetchSize(int rows)
JDBC 2.0
Gives the JDBC driver a hint as to the number of rows that should
be fetched from the database when more rows are needed for this result
set.
|
absolute, afterLast, beforeFirst, cancelRowUpdates, clear, clearWarnings, decodeTableData, deleteRow, findColumn, findColumnData, findColumnData, first, formatOutput, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getColumnCount, getColumnDisplaySize, getColumnName, getColumns, getColumnType, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isNull, isNull, isWrapperFor, last, load, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rewind, rowDeleted, rowInserted, rowUpdated, setCurrentRow, sqlColumnNr, toString, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, validToGet, wasNull
public SoapResultSet(org.w3c.dom.Document doc, int rsCount, Executor callback) throws java.lang.Exception
doc
- the documentrsCount
- the result countcallback
- the call backjava.lang.Exception
- a serious problem@CheckReturnValue @Nullable public java.lang.Object[] getRowAttributeNames() throws java.sql.SQLException
java.sql.SQLException
- if a database-access error occurs.@CheckReturnValue @Nullable public java.lang.String getRowAttributevValue(@Nonnull java.lang.String key) throws java.sql.SQLException
key
- the keyjava.sql.SQLException
- if a database-access error occurs.@CheckReturnValue public java.lang.Object[] getAttributeNames(int columnIndex) throws java.sql.SQLException
columnIndex
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.@CheckReturnValue public java.lang.Object[] getAttributeNames(java.lang.String columnName) throws java.sql.SQLException
columnName
- the column namejava.sql.SQLException
- if a database-access error occurs.@CheckReturnValue public java.lang.String getAttributeValue(int columnIndex, java.lang.String key) throws java.sql.SQLException
columnIndex
- the first column is 1, the second is 2, ...key
- the keyjava.sql.SQLException
- if a database-access error occurs.@CheckReturnValue public java.lang.String getAttributeValue(java.lang.String columnName, java.lang.String key) throws java.sql.SQLException
columnName
- the column namekey
- the keyjava.sql.SQLException
- if a database-access error occurs.@CheckReturnValue public java.lang.String getTitle(java.lang.String orginalCmds)
orginalCmds
- the command@CheckReturnValue public int getSetCount()
public void close() throws java.sql.SQLException
Note: A ResultSet is automatically closed by the Statement that generated it when that Statement is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results. A ResultSet is also automatically closed when it is garbage collected.
close
in interface java.lang.AutoCloseable
close
in interface java.sql.ResultSet
close
in class SResultSet
java.sql.SQLException
@CheckReturnValue @Nullable public SoapResultSet nextResultSet() throws java.lang.Exception
java.lang.Exception
- a serious problem@CheckReturnValue @Nullable public SoapResultSet getResultSet(int rsCount) throws java.lang.Exception
rsCount
- the result set countjava.lang.Exception
- a serious problem@CheckReturnValue public boolean hasResultSet(int rsCount)
rsCount
- the result set count@CheckReturnValue public int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface java.sql.ResultSet
getFetchDirection
in class SResultSet
java.sql.SQLException
@CheckReturnValue @Nonnull public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.ResultSet
getMetaData
in class SResultSet
java.sql.SQLException
- if a database-access error occurs.public void setFetchDirection(int fetchDirection) throws java.sql.SQLException
setFetchDirection
in interface java.sql.ResultSet
setFetchDirection
in class SResultSet
fetchDirection
- the directionjava.sql.SQLException
- if a database-access error occurs.@CheckReturnValue public int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface java.sql.ResultSet
getFetchSize
in class SResultSet
java.sql.SQLException
public void setFetchSize(int rows) throws java.sql.SQLException
setFetchSize
in interface java.sql.ResultSet
setFetchSize
in class SResultSet
rows
- the number of rows to fetchjava.sql.SQLException
@CheckReturnValue @Nullable protected Row fetchRow(int row) throws java.sql.SQLException
fetchRow
in class SResultSet
row
- the row to usejava.sql.SQLException
@CheckReturnValue public int getUpdateCount() throws java.sql.SQLException
java.sql.SQLException
@CheckReturnValue public boolean isUpdateResult() throws java.sql.SQLException
java.sql.SQLException
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.