|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--uk.org.ogsadai.common.WebRowSetXMLStreamToResultSet
WebRowSetXMLStreamToResultSet implements the java.sql.ResultSet interface in order to allow the parsing of WebRowSet XML data into an object from which the data can be read using the getter methods. As this class is NOT attached to a database, the update methods are meaningless and unsupported.
Note that the parse method must be invoked after construction
in order to make the results available.
No assumptions are made in this class about how the result set is stored, as it is read in from the WebRowSet XML document. This leaves sub-classes free to choose whether to implement a "forward-only" or a "scrollable" result set.
| Field Summary | |
protected static int |
BASE_STATE
|
protected static java.lang.String |
COL
|
protected static java.lang.String |
COL_OLD
|
protected static int |
COL_STATE
|
protected static java.lang.String |
COLCOUNT
|
protected static int |
COLCOUNT_STATE
|
protected static java.lang.String |
COLDEFN
|
protected static int |
COLDEFN_STATE
|
protected static java.lang.String |
DATA
|
protected static int |
DATA_STATE
|
protected static java.lang.String |
EMPTY_BLOB
|
protected static java.lang.String |
EMPTY_STRING
|
protected java.lang.StringBuffer |
mCharDataBuffer
|
protected int |
mColumnCount
|
protected boolean |
mCommencedParsing
|
protected int |
mCurrentColumn
|
protected java.lang.String |
mCurrentElement
|
protected Row |
mCurrentRow
|
protected int |
mCursor
|
protected java.io.InputStream |
mDataInput
|
protected static java.lang.String |
METADATA
|
protected static int |
METADATA_STATE
|
protected int |
mLastColumnRead
|
protected uk.org.ogsadai.common.WebRowSetXMLStreamToResultSet.ColumnMetaData |
mMetaData
|
protected javax.xml.parsers.SAXParser |
mParser
|
protected int |
mState
|
protected static java.lang.String |
NULL
|
protected static int |
NULL_STATE
|
protected static java.lang.String |
PROPERTIES
|
protected static int |
PROPERTIES_STATE
|
protected static java.lang.String |
ROW
|
protected static java.lang.String |
ROW_OLD
|
protected static int |
ROW_STATE
|
protected static java.lang.String |
ROWSET
|
protected static java.lang.String |
ROWSET_OLD
|
protected static int |
ROWSET_STATE
|
| 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 | |
protected |
WebRowSetXMLStreamToResultSet(BlockReader reader)
Initialisation common to all implementations. |
protected |
WebRowSetXMLStreamToResultSet(BlockReader reader,
boolean parseNow)
Initialisation common to all implementations. |
| Method Summary | |
abstract boolean |
absolute(int row)
|
abstract void |
afterLast()
|
abstract void |
beforeFirst()
|
void |
cancelRowUpdates()
|
abstract void |
characters(char[] ch,
int start,
int length)
|
void |
clearWarnings()
|
void |
close()
|
static WebRowSetXMLStreamToResultSet |
create(BlockReader reader,
int resultSetType)
Create a new instance of an implementation of this class to parse a WebRowSet XML document provided from a given BlockReader. |
void |
deleteRow()
|
abstract void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Note that this method is called from within the parser thread. |
int |
findColumn(java.lang.String columnName)
|
abstract boolean |
first()
|
java.sql.Array |
getArray(int columnIndex)
|
java.sql.Array |
getArray(java.lang.String columnName)
|
java.io.InputStream |
getAsciiStream(int columnIndex)
|
java.io.InputStream |
getAsciiStream(java.lang.String columnName)
|
java.math.BigDecimal |
getBigDecimal(int columnIndex)
|
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Deprecated. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
Deprecated. |
java.io.InputStream |
getBinaryStream(int columnIndex)
|
java.io.InputStream |
getBinaryStream(java.lang.String columnName)
|
java.sql.Blob |
getBlob(int columnIndex)
|
java.sql.Blob |
getBlob(java.lang.String columnName)
|
boolean |
getBoolean(int columnIndex)
|
boolean |
getBoolean(java.lang.String columnName)
|
byte |
getByte(int columnIndex)
|
byte |
getByte(java.lang.String columnName)
|
byte[] |
getBytes(int columnIndex)
|
byte[] |
getBytes(java.lang.String columnName)
|
java.io.Reader |
getCharacterStream(int columnIndex)
|
java.io.Reader |
getCharacterStream(java.lang.String columnName)
|
java.sql.Clob |
getClob(int columnIndex)
|
java.sql.Clob |
getClob(java.lang.String columnName)
|
protected abstract java.lang.String |
getColumnString(int columnIndex)
|
protected java.lang.Double |
getColumnStringNumeric(int columnIndex)
|
int |
getConcurrency()
|
java.lang.String |
getCursorName()
|
java.sql.Date |
getDate(int columnIndex)
|
java.sql.Date |
getDate(int columnIndex,
java.util.Calendar cal)
|
java.sql.Date |
getDate(java.lang.String columnName)
|
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar cal)
|
double |
getDouble(int columnIndex)
|
double |
getDouble(java.lang.String columnName)
|
int |
getFetchDirection()
|
int |
getFetchSize()
|
float |
getFloat(int columnIndex)
|
float |
getFloat(java.lang.String columnName)
|
int |
getInt(int columnIndex)
|
int |
getInt(java.lang.String columnName)
|
long |
getLong(int columnIndex)
|
long |
getLong(java.lang.String columnName)
|
java.sql.ResultSetMetaData |
getMetaData()
|
java.lang.Object |
getObject(int columnIndex)
|
java.lang.Object |
getObject(int columnIndex,
java.util.Map map)
|
java.lang.Object |
getObject(java.lang.String columnName)
|
java.lang.Object |
getObject(java.lang.String colName,
java.util.Map map)
|
java.sql.Ref |
getRef(int columnIndex)
|
java.sql.Ref |
getRef(java.lang.String columnName)
|
int |
getRow()
|
short |
getShort(int columnIndex)
|
short |
getShort(java.lang.String columnName)
|
java.sql.Statement |
getStatement()
|
java.lang.String |
getString(int columnIndex)
|
java.lang.String |
getString(java.lang.String columnName)
|
java.sql.Time |
getTime(int columnIndex)
|
java.sql.Time |
getTime(int columnIndex,
java.util.Calendar cal)
|
java.sql.Time |
getTime(java.lang.String columnName)
|
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar cal)
|
java.sql.Timestamp |
getTimestamp(int columnIndex)
|
java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar cal)
|
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
|
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
|
abstract int |
getType()
|
java.io.InputStream |
getUnicodeStream(int columnIndex)
Deprecated. |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Deprecated. |
java.net.URL |
getURL(int columnIndex)
|
java.net.URL |
getURL(java.lang.String columnName)
|
java.sql.SQLWarning |
getWarnings()
|
void |
insertRow()
|
abstract boolean |
isAfterLast()
|
abstract boolean |
isBeforeFirst()
|
abstract boolean |
isFirst()
|
abstract boolean |
isLast()
|
abstract boolean |
last()
|
void |
moveToCurrentRow()
|
void |
moveToInsertRow()
|
abstract boolean |
next()
|
void |
parse()
This method should be called by clients after construction and before the first attempt to access the result set, and indicates the client's desire to commence parsing of the WebRowSet XML data stream. |
abstract boolean |
previous()
|
void |
refreshRow()
|
abstract boolean |
relative(int row)
|
boolean |
rowDeleted()
|
boolean |
rowInserted()
|
boolean |
rowUpdated()
|
void |
setFetchDirection(int direction)
|
void |
setFetchSize(int rows)
|
abstract void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attr)
|
void |
terminate()
This method can be used by clients to indicate that it has finished reading all the data it requires from the result set. |
void |
updateArray(int columnIndex,
java.sql.Array x)
|
void |
updateArray(java.lang.String columnName,
java.sql.Array x)
|
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
|
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
|
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
|
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
|
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
|
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
|
void |
updateBlob(int columnIndex,
java.sql.Blob x)
|
void |
updateBlob(java.lang.String columnName,
java.sql.Blob x)
|
void |
updateBoolean(int columnIndex,
boolean x)
|
void |
updateBoolean(java.lang.String columnName,
boolean x)
|
void |
updateByte(int columnIndex,
byte x)
|
void |
updateByte(java.lang.String columnName,
byte x)
|
void |
updateBytes(int columnIndex,
byte[] x)
|
void |
updateBytes(java.lang.String columnName,
byte[] x)
|
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
|
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
|
void |
updateClob(int columnIndex,
java.sql.Clob x)
|
void |
updateClob(java.lang.String columnName,
java.sql.Clob x)
|
void |
updateDate(int columnIndex,
java.sql.Date x)
|
void |
updateDate(java.lang.String columnName,
java.sql.Date x)
|
void |
updateDouble(int columnIndex,
double x)
|
void |
updateDouble(java.lang.String columnName,
double x)
|
void |
updateFloat(int columnIndex,
float x)
|
void |
updateFloat(java.lang.String columnName,
float x)
|
void |
updateInt(int columnIndex,
int x)
|
void |
updateInt(java.lang.String columnName,
int x)
|
void |
updateLong(int columnIndex,
long x)
|
void |
updateLong(java.lang.String columnName,
long x)
|
void |
updateNull(int columnIndex)
|
void |
updateNull(java.lang.String columnName)
|
void |
updateObject(int columnIndex,
java.lang.Object x)
|
void |
updateObject(int columnIndex,
java.lang.Object x,
int scale)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
|
void |
updateRef(int columnIndex,
java.sql.Ref x)
|
void |
updateRef(java.lang.String columnName,
java.sql.Ref x)
|
void |
updateRow()
|
void |
updateShort(int columnIndex,
short x)
|
void |
updateShort(java.lang.String columnName,
short x)
|
void |
updateString(int columnIndex,
java.lang.String x)
|
void |
updateString(java.lang.String columnName,
java.lang.String x)
|
void |
updateTime(int columnIndex,
java.sql.Time x)
|
void |
updateTime(java.lang.String columnName,
java.sql.Time x)
|
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp x)
|
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
|
boolean |
wasNull()
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.xml.parsers.SAXParser mParser
protected boolean mCommencedParsing
protected int mColumnCount
protected uk.org.ogsadai.common.WebRowSetXMLStreamToResultSet.ColumnMetaData mMetaData
protected int mCurrentColumn
protected int mLastColumnRead
protected java.lang.String mCurrentElement
protected int mCursor
protected Row mCurrentRow
protected final java.lang.StringBuffer mCharDataBuffer
protected java.io.InputStream mDataInput
protected static final int BASE_STATE
protected static final int ROWSET_STATE
protected static final int ROW_STATE
protected static final int COL_STATE
protected static final int DATA_STATE
protected static final int PROPERTIES_STATE
protected static final int METADATA_STATE
protected static final int COLCOUNT_STATE
protected static final int COLDEFN_STATE
protected static final int NULL_STATE
protected int mState
protected static final java.lang.String ROWSET
protected static final java.lang.String ROW
protected static final java.lang.String COL
protected static final java.lang.String DATA
protected static final java.lang.String PROPERTIES
protected static final java.lang.String METADATA
protected static final java.lang.String COLCOUNT
protected static final java.lang.String COLDEFN
protected static final java.lang.String NULL
protected static final java.lang.String EMPTY_STRING
protected static final java.lang.String EMPTY_BLOB
protected static final java.lang.String ROWSET_OLD
protected static final java.lang.String ROW_OLD
protected static final java.lang.String COL_OLD
| Constructor Detail |
protected WebRowSetXMLStreamToResultSet(BlockReader reader)
parse() method
in order to commence parsing of the WebRowSet XML data.
reader - the WebRowSet XML data stream
protected WebRowSetXMLStreamToResultSet(BlockReader reader,
boolean parseNow)
throws org.xml.sax.SAXException,
java.io.IOException
parse() method after initialisation
iff parseNow is true.
reader - the WebRowSet XML data streamparseNow - true iff the parse() should be invoked after initialisation
org.xml.sax.SAXException - if parseNow is true and if there is a problem whilst parsing the XML data
java.io.IOException - if parseNow is true and any IO error occurs| Method Detail |
public static WebRowSetXMLStreamToResultSet create(BlockReader reader,
int resultSetType)
throws java.sql.SQLException
BlockReader.
reader - the WebRowSet XML data streamresultSetType - a result set type; either
ResultSet.TYPE_FORWARD_ONLY or
ResultSet.TYPE_SCROLL_INSENSITIVE
java.sql.SQLException - if the resultSetType is unsupported
org.xml.sax.SAXException - if there is a problem whilst parsing the XML data
java.io.IOException - if any IO error occurs
public void parse()
throws org.xml.sax.SAXException,
java.io.IOException
Sub-classes should override this method but invoke it from the overriding method if the sub-class wishes to keep track of whether this method has been called.
org.xml.sax.SAXException - if there is a problem whilst parsing the XML data
java.io.IOException - if any IO error occurspublic void terminate()
The default implementation is to take no action, but this method should be overridden by implementors if any clean-up needs to be performed when the client has finished.
public abstract void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attr)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionContentHandler.startElement(String, String, String, Attributes)
public abstract void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionContentHandler.endElement(String, String, String)
public abstract void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionContentHandler.characters(char[], int, int)
protected abstract java.lang.String getColumnString(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
protected java.lang.Double getColumnStringNumeric(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
public abstract int getType()
throws java.sql.SQLException
getType in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getType()
public abstract boolean next()
throws java.sql.SQLException
next in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.next()
public abstract boolean previous()
throws java.sql.SQLException
previous in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.previous()
public abstract boolean absolute(int row)
throws java.sql.SQLException
absolute in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.absolute(int)
public abstract boolean relative(int row)
throws java.sql.SQLException
relative in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.relative(int)
public abstract void beforeFirst()
throws java.sql.SQLException
beforeFirst in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.beforeFirst()
public abstract void afterLast()
throws java.sql.SQLException
afterLast in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.afterLast()
public abstract boolean first()
throws java.sql.SQLException
first in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.first()
public abstract boolean last()
throws java.sql.SQLException
last in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.last()
public abstract boolean isBeforeFirst()
throws java.sql.SQLException
isBeforeFirst in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.isBeforeFirst()
public abstract boolean isAfterLast()
throws java.sql.SQLException
isAfterLast in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.isAfterLast()
public abstract boolean isFirst()
throws java.sql.SQLException
isFirst in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.isFirst()
public abstract boolean isLast()
throws java.sql.SQLException
isLast in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.isLast()
public int getRow()
throws java.sql.SQLException
getRow in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getRow()
public void close()
throws java.sql.SQLException
close in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.close()
public boolean wasNull()
throws java.sql.SQLException
wasNull in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.wasNull()
public java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getString(int)
public boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBoolean(int)
public byte getByte(int columnIndex)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getByte(int)
public short getShort(int columnIndex)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getShort(int)
public int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getInt(int)
public long getLong(int columnIndex)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getLong(int)
public float getFloat(int columnIndex)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getFloat(int)
public double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getDouble(int)
public java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBigDecimal(int, int)
public byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBytes(int)
public java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getDate(int)
public java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTime(int)
public java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTimestamp(int)
public java.io.InputStream getAsciiStream(int columnIndex)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getAsciiStream(int)
public java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getUnicodeStream(int)
public java.io.InputStream getBinaryStream(int columnIndex)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBinaryStream(int)
public java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getString(String)
public boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBoolean(String)
public byte getByte(java.lang.String columnName)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getByte(String)
public short getShort(java.lang.String columnName)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getShort(String)
public int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getInt(String)
public long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getLong(String)
public float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getFloat(String)
public double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getDouble(String)
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBigDecimal(String, int)
public byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBytes(String)
public java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getDate(String)
public java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTime(String)
public java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTimestamp(String)
public java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getAsciiStream(String)
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getUnicodeStream(String)
public java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBinaryStream(String)
public java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getWarnings()
public void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.clearWarnings()
public java.lang.String getCursorName()
throws java.sql.SQLException
getCursorName in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getCursorName()
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getMetaData()
public java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getObject(int)
public java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getObject(String)
public int findColumn(java.lang.String columnName)
throws java.sql.SQLException
findColumn in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.findColumn(String)
public java.io.Reader getCharacterStream(int columnIndex)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getCharacterStream(int)
public java.io.Reader getCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getCharacterStream(String)
public java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBigDecimal(int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBigDecimal(String)
public void setFetchDirection(int direction)
throws java.sql.SQLException
setFetchDirection in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.setFetchDirection(int)
public int getFetchDirection()
throws java.sql.SQLException
getFetchDirection in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getFetchDirection()
public void setFetchSize(int rows)
throws java.sql.SQLException
setFetchSize in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.setFetchSize(int)
public int getFetchSize()
throws java.sql.SQLException
getFetchSize in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getFetchSize()
public int getConcurrency()
throws java.sql.SQLException
getConcurrency in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getConcurrency()
public boolean rowUpdated()
throws java.sql.SQLException
rowUpdated in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.rowUpdated()
public boolean rowInserted()
throws java.sql.SQLException
rowInserted in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.rowInserted()
public boolean rowDeleted()
throws java.sql.SQLException
rowDeleted in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.rowDeleted()
public void updateNull(int columnIndex)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateNull(int)
public void updateBoolean(int columnIndex,
boolean x)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBoolean(int, boolean)
public void updateByte(int columnIndex,
byte x)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateByte(int, byte)
public void updateShort(int columnIndex,
short x)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateShort(int, short)
public void updateInt(int columnIndex,
int x)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateInt(int, int)
public void updateLong(int columnIndex,
long x)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateLong(int, long)
public void updateFloat(int columnIndex,
float x)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateFloat(int, float)
public void updateDouble(int columnIndex,
double x)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateDouble(int, double)
public void updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBigDecimal(int, BigDecimal)
public void updateString(int columnIndex,
java.lang.String x)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateString(int, String)
public void updateBytes(int columnIndex,
byte[] x)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBytes(int, byte[])
public void updateDate(int columnIndex,
java.sql.Date x)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateDate(int, Date)
public void updateTime(int columnIndex,
java.sql.Time x)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateTime(int, Time)
public void updateTimestamp(int columnIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateTimestamp(int, Timestamp)
public void updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateAsciiStream(int, InputStream, int)
public void updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBinaryStream(int, InputStream, int)
public void updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateCharacterStream(int, Reader, int)
public void updateObject(int columnIndex,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateObject(int, Object, int)
public void updateObject(int columnIndex,
java.lang.Object x)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateObject(int, Object)
public void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateNull(String)
public void updateBoolean(java.lang.String columnName,
boolean x)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBoolean(String, boolean)
public void updateByte(java.lang.String columnName,
byte x)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateByte(String, byte)
public void updateShort(java.lang.String columnName,
short x)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateShort(String, short)
public void updateInt(java.lang.String columnName,
int x)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateInt(String, int)
public void updateLong(java.lang.String columnName,
long x)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateLong(String, long)
public void updateFloat(java.lang.String columnName,
float x)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateFloat(String, float)
public void updateDouble(java.lang.String columnName,
double x)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateDouble(String, double)
public void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBigDecimal(String, BigDecimal)
public void updateString(java.lang.String columnName,
java.lang.String x)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateString(String, String)
public void updateBytes(java.lang.String columnName,
byte[] x)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBytes(String, byte[])
public void updateDate(java.lang.String columnName,
java.sql.Date x)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateDate(String, Date)
public void updateTime(java.lang.String columnName,
java.sql.Time x)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateTime(String, Time)
public void updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateTimestamp(String, Timestamp)
public void updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateAsciiStream(String, InputStream, int)
public void updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBinaryStream(String, InputStream, int)
public void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateCharacterStream(String, Reader, int)
public void updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateObject(String, Object, int)
public void updateObject(java.lang.String columnName,
java.lang.Object x)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateObject(String, Object)
public void insertRow()
throws java.sql.SQLException
insertRow in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.insertRow()
public void updateRow()
throws java.sql.SQLException
updateRow in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateRow()
public void deleteRow()
throws java.sql.SQLException
deleteRow in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.deleteRow()
public void refreshRow()
throws java.sql.SQLException
refreshRow in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.refreshRow()
public void cancelRowUpdates()
throws java.sql.SQLException
cancelRowUpdates in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.cancelRowUpdates()
public void moveToInsertRow()
throws java.sql.SQLException
moveToInsertRow in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.moveToInsertRow()
public void moveToCurrentRow()
throws java.sql.SQLException
moveToCurrentRow in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.moveToCurrentRow()
public java.sql.Statement getStatement()
throws java.sql.SQLException
getStatement in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getStatement()
public java.lang.Object getObject(int columnIndex,
java.util.Map map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getObject(int, Map)
public java.sql.Ref getRef(int columnIndex)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getRef(int)
public java.sql.Blob getBlob(int columnIndex)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBlob(int)
public java.sql.Clob getClob(int columnIndex)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getClob(int)
public java.sql.Array getArray(int columnIndex)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getArray(int)
public java.lang.Object getObject(java.lang.String colName,
java.util.Map map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getObject(String, Map)
public java.sql.Ref getRef(java.lang.String columnName)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getRef(String)
public java.sql.Blob getBlob(java.lang.String columnName)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getBlob(String)
public java.sql.Clob getClob(java.lang.String columnName)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getClob(String)
public java.sql.Array getArray(java.lang.String columnName)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getArray(String)
public java.sql.Date getDate(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getDate(int, Calendar)
public java.sql.Date getDate(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getDate(String, Calendar)
public java.sql.Time getTime(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTime(int, Calendar)
public java.sql.Time getTime(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTime(String, Calendar)
public java.sql.Timestamp getTimestamp(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTimestamp(int, Calendar)
public java.sql.Timestamp getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getTimestamp(String, Calendar)
public java.net.URL getURL(int columnIndex)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getURL(int)
public java.net.URL getURL(java.lang.String columnName)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.getURL(String)
public void updateRef(int columnIndex,
java.sql.Ref x)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateRef(int, Ref)
public void updateRef(java.lang.String columnName,
java.sql.Ref x)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateRef(String, Ref)
public void updateBlob(int columnIndex,
java.sql.Blob x)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBlob(int, Blob)
public void updateBlob(java.lang.String columnName,
java.sql.Blob x)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateBlob(String, Blob)
public void updateClob(int columnIndex,
java.sql.Clob x)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateClob(int, Clob)
public void updateClob(java.lang.String columnName,
java.sql.Clob x)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateClob(String, Clob)
public void updateArray(int columnIndex,
java.sql.Array x)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateArray(int, Array)
public void updateArray(java.lang.String columnName,
java.sql.Array x)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetjava.sql.SQLExceptionResultSet.updateArray(String, Array)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||