|
||||||||||
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.ReadOnlyResultSet
org.postgresql.pljava.jdbc.SPIResultSet
public class SPIResultSet
A Read-only ResultSet that provides direct access to a Portal
. At present, only
forward positioning is implemented. Attempts to use reverse or
absolute positioning will fail.
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 |
Method Summary | |
---|---|
boolean |
absolute(int row)
Cursor positioning is not implemented yet. |
void |
afterLast()
Cursor positoning is not implemented yet. |
void |
beforeFirst()
Cursor positoning is not implemented yet. |
void |
close()
|
int |
findColumn(String columnName)
|
boolean |
first()
Cursor positioning is not implemented yet. |
protected Tuple |
getCurrentRow()
|
String |
getCursorName()
|
int |
getFetchDirection()
|
int |
getFetchSize()
|
ResultSetMetaData |
getMetaData()
ResultSetMetaData is not yet supported. |
protected Object |
getObjectValue(int columnIndex)
|
protected Portal |
getPortal()
|
int |
getRow()
|
Statement |
getStatement()
|
protected TupleTable |
getTupleTable()
|
int |
getType()
|
boolean |
isAfterLast()
|
boolean |
isBeforeFirst()
|
boolean |
isFirst()
|
boolean |
isLast()
|
boolean |
last()
Cursor positioning is not implemented yet. |
boolean |
next()
|
protected Tuple |
peekNext()
|
boolean |
previous()
Reverse positioning is not implemented yet. |
boolean |
relative(int rows)
Cursor positioning is not implemented yet. |
void |
setFetchDirection(int direction)
Only ResultSet.FETCH_FORWARD is supported. |
void |
setFetchSize(int fetchSize)
|
Methods inherited from class org.postgresql.pljava.jdbc.ReadOnlyResultSet |
---|
cancelRowUpdates, deleteRow, getConcurrency, insertRow, moveToCurrentRow, moveToInsertRow, rowDeleted, rowInserted, rowUpdated, updateObject, updateObject, updateRow |
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, 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 |
Method Detail |
---|
public int getFetchDirection() throws SQLException
getFetchDirection
in interface ResultSet
SQLException
public void close() throws SQLException
close
in interface ResultSet
SQLException
public boolean isLast() throws SQLException
SQLException
public boolean next() throws SQLException
SQLException
public String getCursorName() throws SQLException
getCursorName
in interface ResultSet
getCursorName
in class AbstractResultSet
SQLException
public int findColumn(String columnName) throws SQLException
SQLException
public Statement getStatement() throws SQLException
getStatement
in interface ResultSet
getStatement
in class AbstractResultSet
SQLException
protected final Portal getPortal() throws SQLException
SQLException
protected final TupleTable getTupleTable() throws SQLException
SQLException
protected final Tuple getCurrentRow() throws SQLException
SQLException
protected final Tuple peekNext() throws SQLException
SQLException
protected Object getObjectValue(int columnIndex) throws SQLException
getObjectValue
in class ObjectResultSet
SQLException
public ResultSetMetaData getMetaData() throws SQLException
ObjectResultSet
getMetaData
in interface ResultSet
getMetaData
in class ObjectResultSet
SQLException
- indicating that this feature is not supported.public final int getFetchSize() throws SQLException
SQLException
public final 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
SQLException
public boolean isBeforeFirst() throws SQLException
SQLException
public boolean isFirst() throws SQLException
SQLException
public boolean last() throws SQLException
SQLException
- indicating that this feature is not supported.public boolean previous() throws SQLException
SQLException
- indicating that this feature is not supported.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 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
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |