|
||||||||||
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
public abstract class SingleRowResultSet
A single row ResultSet
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 | |
---|---|
SingleRowResultSet()
|
Method Summary | |
---|---|
boolean |
absolute(int row)
Cursor positioning is not supported. |
void |
afterLast()
Cursor positoning is not implemented. |
void |
beforeFirst()
Cursor positoning is not implemented. |
void |
deleteRow()
This feature is not supported. |
int |
findColumn(String columnName)
|
boolean |
first()
Cursor positioning is not implemented. |
int |
getConcurrency()
|
int |
getFetchDirection()
|
int |
getFetchSize()
|
ResultSetMetaData |
getMetaData()
Returns the metadata for this result set. |
int |
getRow()
|
protected abstract TupleDesc |
getTupleDesc()
|
int |
getType()
|
void |
insertRow()
This feature is not supported. |
boolean |
isAfterLast()
Returns false . |
boolean |
isBeforeFirst()
Will always return false since a SingleRowWriter
starts on the one and only row. |
boolean |
isFirst()
Returns true . |
boolean |
isLast()
Returns true . |
boolean |
last()
Cursor positioning is not implemented. |
void |
moveToCurrentRow()
This is a no-op since the moveToInsertRow() method is
unsupported. |
void |
moveToInsertRow()
This feature is not supported on a SingleRowWriter . |
boolean |
next()
This method will always return false but it will not change
the state of the ResultSet . |
boolean |
previous()
This method will always return false but it will not change
the state of the ResultSet . |
boolean |
relative(int rows)
Cursor positioning is not supported. |
boolean |
rowDeleted()
Will always return false. |
boolean |
rowInserted()
Will always return false. |
void |
setFetchDirection(int direction)
Only ResultSet.FETCH_FORWARD is supported. |
void |
setFetchSize(int fetchSize)
Only permitted value for fetchSize is 1. |
void |
updateObject(int columnIndex,
Object x,
int scale)
The scale is not really supported. |
void |
updateRow()
This is a noop. |
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, getNumber, getObject, getObject, getObjectValue, 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, getCursorName, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getObject, getRef, getShort, getStatement, 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 |
Methods inherited from interface java.sql.ResultSet |
---|
cancelRowUpdates, close, rowUpdated, updateObject |
Constructor Detail |
---|
public SingleRowResultSet()
Method Detail |
---|
public int getConcurrency() throws SQLException
SQLException
public int findColumn(String columnName) throws SQLException
SQLException
public int getFetchDirection() throws SQLException
SQLException
public int getFetchSize() throws SQLException
SQLException
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface ResultSet
getMetaData
in class ObjectResultSet
SQLException
- indicating that this feature is not supported.public int getRow() throws SQLException
SQLException
public int getType() throws SQLException
SQLException
public void afterLast() throws SQLException
SQLException
- indicating that this feature is not supported.public void beforeFirst() throws SQLException
SQLException
- indicating that this feature is not supported.public boolean first() throws SQLException
SQLException
- indicating that this feature is not supported.public boolean isAfterLast() throws SQLException
false
.
SQLException
public boolean isBeforeFirst() throws SQLException
false
since a SingleRowWriter
starts on the one and only row.
SQLException
public boolean isFirst() throws SQLException
true
.
SQLException
public boolean isLast() throws SQLException
true
.
SQLException
public boolean last() throws SQLException
SQLException
- indicating that this feature is not supported.public boolean next() throws SQLException
false
but it will not change
the state of the ResultSet
.
SQLException
public boolean previous() throws SQLException
false
but it will not change
the state of the ResultSet
.
SQLException
public void setFetchDirection(int direction) throws SQLException
ResultSet.FETCH_FORWARD
is supported.
SQLException
- indicating that this feature is not supported
for other values on direction
.public void setFetchSize(int fetchSize) throws SQLException
fetchSize
is 1.
SQLException
public boolean absolute(int row) throws SQLException
SQLException
- indicating that this feature is not supported.public boolean relative(int rows) throws SQLException
SQLException
- indicating that this feature is not supported.public void deleteRow() throws SQLException
SQLException
- indicating that this feature is not supported.public void insertRow() throws SQLException
SQLException
- indicating that this feature is not supported.public void moveToCurrentRow() throws SQLException
moveToInsertRow()
method is
unsupported.
SQLException
public void moveToInsertRow() throws SQLException
SingleRowWriter
.
SQLException
- indicating that this feature is not supported.public void updateRow() throws SQLException
SQLException
public boolean rowDeleted() throws SQLException
SQLException
public boolean rowInserted() throws SQLException
SQLException
public void updateObject(int columnIndex, Object x, int scale) throws SQLException
ResultSet.updateObject(int, Object)
SQLException
protected abstract TupleDesc getTupleDesc() throws SQLException
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |