|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.postgresql.jdbc2.AbstractJdbc2ResultSet
org.postgresql.jdbc3.AbstractJdbc3ResultSet
public abstract class AbstractJdbc3ResultSet
This class defines methods of the jdbc3 specification. This class extends org.postgresql.jdbc2.AbstractJdbc2ResultSet which provides the jdbc2 methods. The real Statement class (for jdbc3) is org.postgresql.jdbc3.Jdbc3ResultSet
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.postgresql.jdbc2.AbstractJdbc2ResultSet |
|---|
AbstractJdbc2ResultSet.CursorResultHandler |
| Field Summary |
|---|
| Fields inherited from class org.postgresql.jdbc2.AbstractJdbc2ResultSet |
|---|
connection, current_row, cursor, fetchSize, fields, maxFieldSize, maxRows, onInsertRow, originalQuery, row_offset, rows, statement, this_row, warnings, wasNullFlag |
| 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 | |
|---|---|
AbstractJdbc3ResultSet(Query originalQuery,
BaseStatement statement,
Field[] fields,
Vector tuples,
ResultCursor cursor,
int maxRows,
int maxFieldSize,
int rsType,
int rsConcurrency,
int rsHoldability)
|
|
| Method Summary | |
|---|---|
URL |
getURL(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL
object in the Java programming language. |
URL |
getURL(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL
object in the Java programming language. |
protected Object |
internalGetObject(int columnIndex,
Field field)
|
void |
updateArray(int columnIndex,
Array x)
Updates the designated column with a java.sql.Array value. |
void |
updateArray(String columnName,
Array x)
Updates the designated column with a java.sql.Array value. |
void |
updateBlob(int columnIndex,
Blob x)
Updates the designated column with a java.sql.Blob value. |
void |
updateBlob(String columnName,
Blob x)
Updates the designated column with a java.sql.Blob value. |
void |
updateClob(int columnIndex,
Clob x)
Updates the designated column with a java.sql.Clob value. |
void |
updateClob(String columnName,
Clob x)
Updates the designated column with a java.sql.Clob value. |
void |
updateRef(int columnIndex,
Ref x)
Updates the designated column with a java.sql.Ref value. |
void |
updateRef(String columnName,
Ref x)
Updates the designated column with a java.sql.Ref value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.postgresql.core.BaseResultSet |
|---|
createArray |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Constructor Detail |
|---|
public AbstractJdbc3ResultSet(Query originalQuery,
BaseStatement statement,
Field[] fields,
Vector tuples,
ResultCursor cursor,
int maxRows,
int maxFieldSize,
int rsType,
int rsConcurrency,
int rsHoldability)
throws SQLException
SQLException| Method Detail |
|---|
protected Object internalGetObject(int columnIndex,
Field field)
throws SQLException
internalGetObject in class AbstractJdbc2ResultSetSQLException
public URL getURL(int columnIndex)
throws SQLException
ResultSet object as a java.net.URL
object in the Java programming language.
getURL in interface ResultSetgetURL in class AbstractJdbc2ResultSetcolumnIndex - the index of the column 1 is the first, 2 is the second,...
java.net.URL object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs,
or if a URL is malformed
public URL getURL(String columnName)
throws SQLException
ResultSet object as a java.net.URL
object in the Java programming language.
getURL in interface ResultSetgetURL in class AbstractJdbc2ResultSetcolumnName - the SQL name of the column
java.net.URL object;
if the value is SQL NULL,
the value returned is null in the Java programming language
SQLException - if a database access error occurs
or if a URL is malformed
public void updateRef(int columnIndex,
Ref x)
throws SQLException
java.sql.Ref value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateRef(String columnName,
Ref x)
throws SQLException
java.sql.Ref value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateBlob(int columnIndex,
Blob x)
throws SQLException
java.sql.Blob value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateBlob(String columnName,
Blob x)
throws SQLException
java.sql.Blob value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateClob(int columnIndex,
Clob x)
throws SQLException
java.sql.Clob value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateClob(String columnName,
Clob x)
throws SQLException
java.sql.Clob value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
public void updateArray(int columnIndex,
Array x)
throws SQLException
java.sql.Array value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnIndex - the first column is 1, the second is 2, ...x - the new column value
SQLException - if a database access error occurs
public void updateArray(String columnName,
Array x)
throws SQLException
java.sql.Array value.
The updater methods are used to update column values in the
current row or the insert row. The updater methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
columnName - the name of the columnx - the new column value
SQLException - if a database access error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||