|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.jdbc.AbstractResultSet
org.postgresql.pljava.jdbc.ObjectResultSet
org.postgresql.pljava.jdbc.SingleRowResultSet
org.postgresql.pljava.jdbc.SingleTupleReader
A single row, read-only ResultSet, specially made for functions and procedures that takes complex types as arguments (PostgreSQL 7.5 and later).
Field Summary |
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 | |
SingleTupleReader(HeapTupleHeader tupleHeader)
|
Method Summary | |
void |
cancelRowUpdates()
This feature is not supported on a ReadOnlyResultSet . |
void |
deleteRow()
This feature is not supported on a ReadOnlyResultSet . |
int |
getConcurrency()
Returns ResultSet.CONCUR_READ_ONLY . |
protected java.lang.Object |
getObjectValue(int columnIndex)
|
protected TupleDesc |
getTupleDesc()
|
void |
insertRow()
This feature is not supported on a ReadOnlyResultSet . |
void |
moveToInsertRow()
This feature is not supported on a ReadOnlyResultSet . |
boolean |
rowUpdated()
Always returns false. |
void |
updateObject(int columnIndex,
java.lang.Object x)
This feature is not supported on a ReadOnlyResultSet . |
void |
updateObject(int columnIndex,
java.lang.Object x,
int scale)
This feature is not supported on a ReadOnlyResultSet . |
void |
updateRow()
This feature is not supported on a ReadOnlyResultSet . |
Methods inherited from class org.postgresql.pljava.jdbc.SingleRowResultSet |
absolute, afterLast, beforeFirst, close, findColumn, first, getCursorName, getFetchDirection, getFetchSize, getRow, getStatement, getType, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, next, previous, relative, rowDeleted, rowInserted, setFetchDirection, setFetchSize |
Methods inherited from class org.postgresql.pljava.jdbc.ObjectResultSet |
clearWarnings, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getMetaData, getNumber, getObject, getObject, getObjectValue, getRef, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL, getValue, getValue, getWarnings, refreshRow, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateRef, updateShort, updateString, updateTime, updateTimestamp, wasNull |
Methods inherited from class org.postgresql.pljava.jdbc.AbstractResultSet |
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getObject, getRef, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateObject, updateObject, updateRef, updateShort, updateString, updateTime, updateTimestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SingleTupleReader(HeapTupleHeader tupleHeader) throws java.sql.SQLException
Method Detail |
protected java.lang.Object getObjectValue(int columnIndex) throws java.sql.SQLException
getObjectValue
in class ObjectResultSet
java.sql.SQLException
public int getConcurrency() throws java.sql.SQLException
ResultSet.CONCUR_READ_ONLY
.
getConcurrency
in interface java.sql.ResultSet
getConcurrency
in class SingleRowResultSet
java.sql.SQLException
public void cancelRowUpdates() throws java.sql.SQLException
ReadOnlyResultSet
.
java.sql.SQLException
- indicating that this feature is not supported.public void deleteRow() throws java.sql.SQLException
ReadOnlyResultSet
.
deleteRow
in interface java.sql.ResultSet
deleteRow
in class SingleRowResultSet
java.sql.SQLException
- indicating that this feature is not supported.public void insertRow() throws java.sql.SQLException
ReadOnlyResultSet
.
insertRow
in interface java.sql.ResultSet
insertRow
in class SingleRowResultSet
java.sql.SQLException
- indicating that this feature is not supported.public void moveToInsertRow() throws java.sql.SQLException
ReadOnlyResultSet
.
moveToInsertRow
in interface java.sql.ResultSet
moveToInsertRow
in class SingleRowResultSet
java.sql.SQLException
- indicating that this feature is not supported.public void updateRow() throws java.sql.SQLException
ReadOnlyResultSet
.
updateRow
in interface java.sql.ResultSet
updateRow
in class SingleRowResultSet
java.sql.SQLException
- indicating that this feature is not supported.public boolean rowUpdated() throws java.sql.SQLException
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
ReadOnlyResultSet
.
java.sql.SQLException
- indicating that this feature is not supported.public void updateObject(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException
ReadOnlyResultSet
.
updateObject
in interface java.sql.ResultSet
updateObject
in class SingleRowResultSet
java.sql.SQLException
- indicating that this feature is not supported.protected final TupleDesc getTupleDesc() throws java.sql.SQLException
getTupleDesc
in class SingleRowResultSet
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |