| Modifier and Type | Field and Description |
|---|---|
| protected static final int | |
| protected static final int | |
| private Statement | applicationStmt
Statement object the application used to create this ResultSet. |
| protected static final int | |
| private boolean[] | |
| private boolean[] | columnUsedFlags
Indicates which columns have been fetched as a stream or as a LOB for a row. |
| private final int | |
| private ExecRow | currentRow
The currentRow contains the data of the current row of the resultset. |
| private boolean | |
| private Object | |
| private int | |
| private static long | fetchedRowBase
For use in debugging setLargeMaxRows() method added by JDBC 4.2 |
| private int | |
| protected static final int | |
| private boolean | |
| private final boolean | |
| pack-priv boolean | isClosed
Set if this ResultSet is definitely closed. |
| private boolean | |
| protected static final int | |
| private final int | |
| private long | |
| protected static final int | |
| private long | |
| pack-priv final int | |
| private EmbedStatement | owningStmt
The statement that currently owns this ResultSet. |
| protected static final int | |
| protected static final int | |
| private final ResultDescription | |
| pack-priv Activation | singleUseActivation
This activation is set by EmbedStatement for a single execution Activation. |
| private final EmbedStatement | stmt
The statement object that originally created us. |
| private ResultSet | |
| private final long | |
| private SQLWarning | |
| private final ExecRow | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | EmbedResultSet(EmbedConnection conn, ResultSet resultsToWrap, boolean forMetaData, EmbedStatement stmt, boolean isAtomic)
This class provides the glue between the Derby resultset and the JDBC resultset, mapping calls-to-calls. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if on the result set, false if off.the number of the row to which the cursor should move.
A value of zero indicates that the cursor will be positioned
before the first row; a positive number indicates the row number
counting from the beginning of the result set; a negative number
indicates the row number counting from the end of the result set row)Implements java. JDBC 2.0 Move to an absolute row number in the result set. |
| private void | addWarning(SQLWarning
The warning to add to the warning chain. w)Adds a warning to the end of the warning chain. |
| protected void | |
| public void | afterLast()
Implements java. JDBC 2.0 Moves to the end of the result set, just after the last row. |
| public void | beforeFirst()
Implements java. JDBC 2.0 Moves to the front of the result set, just before the first row. |
| public void | cancelRowUpdates()
Implements java. JDBC 2.0 The cancelRowUpdates() method may be called after calling an updateXXX() method(s) and before calling updateRow() to rollback the updates made to a row. |
| pack-priv final void | checkExecIfClosed(String operation)
Throw an exception if this ResultSet is closed or its Connection has been closed. |
| pack-priv final void | checkIfClosed(String
The operation the caller is trying to perform operation)Throw an exception if this ResultSet is closed. |
| private void | checkLOBMultiCall(int
1-based index of the LOB column columnIndex)Checks if a stream or a LOB object has already been created for the specified LOB column. |
| private void | |
| protected final void | |
| private boolean | |
| protected void | |
| private void | checksBeforeUpdateAsciiStream(int
the column index (first column is 1) columnIndex)Check whether it is OK to update a column using
|
| private void | checksBeforeUpdateBinaryStream(int
the column index (first column is 1) columnIndex)Check whether it is OK to update a column using
|
| private void | checksBeforeUpdateCharacterStream(int
the column index (first column is 1) columnIndex)Check whether it is OK to update a column using
|
| protected void | |
| protected void | |
| private void | checkScrollCursor(String
name of the method which requests the check methodName)Checks if the result set has a scrollable cursor. |
| private void | |
| public final void | clearWarnings()
Implements java. After this call getWarnings returns null until a new warning is reported for this ResultSet. |
| public void | close()
Implements java. In some cases, it is desirable to immediately release a ResultSet's database and JDBC resources instead of waiting for this to happen when it is automatically closed; the close method provides this immediate release. |
| private final void | closeCurrentStream()
Documented behaviour for streams is that they are implicitly closed on the next get*() method call. |
| pack-priv final SQLException | |
| public final int | compareTo(Object
the object to be compared. other)Implements java. Compares this object with the specified object for order. |
| private final SQLException | |
| private final SQLException | |
| public void | deleteRow()
Implements java. JDBC 2.0 Delete the current row from the result set and the underlying database. |
| public final int | Returns: the column indexthe name of the column columnName)Implements java. Map a Resultset column name to a ResultSet column index. |
| protected int | Returns: the column indexthe name of the column columnName)Map a Resultset column name to a ResultSet column index. |
| public boolean | Returns: true if on a valid row, false if no rows in the result set.Implements java. JDBC 2.0 Moves to the first row in the result set. |
| public final Array | Returns: an object representing an SQL arraythe first column is 1, the second is 2, ... i)Implements java. JDBC 2.0 Get an array column. |
| public final Array | Returns: an object representing an SQL arraythe column name colName)Implements java. JDBC 2.0 Get an array column. |
| public final InputStream | Returns: a Java input stream that delivers the database column value as a stream of one byte ASCII characters. If the value is SQL NULL then the result is null.the first column is 1, the second is 2, ... columnIndex)Implements java. Pushes a converter on top of getCharacterStream(). |
| public final InputStream | Returns: a Java input stream that delivers the database column value as a stream of one byte ASCII characters. If the value is SQL NULL then the result is null.is the SQL name of the column columnName)Implements java. A column value can be retrieved as a stream of ASCII characters and then read in chunks from the stream. |
| public final BigDecimal | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex, int the number of digits to the right of the decimal scale)Implements java.
Deprecated
Get the value of a column in the current row as a java.lang.BigDecimal object. |
| public final BigDecimal | getBigDecimal(int
the first column is 1, the second is 2, ... columnIndex)Implements java. Retrieves the value of the designated column in the current row
of this |
| public final BigDecimal | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName, int the number of digits to the right of the decimal scale)Implements java.
Deprecated
Get the value of a column in the current row as a java.lang.BigDecimal object. |
| public final BigDecimal | getBigDecimal(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.math.BigDecimal object. |
| public final InputStream | Returns: a Java input stream that delivers the database column value as a stream of uninterpreted bytes. If the value is SQL NULL then the result is null.the first column is 1, the second is 2, ... columnIndex)Implements java. Get the column as an InputStream. |
| public final InputStream | Returns: a Java input stream that delivers the database column value as a stream of uninterpreted bytes. If the value is SQL NULL then the result is null.is the SQL name of the column columnName)Implements java. A column value can be retrieved as a stream of uninterpreted bytes and then read in chunks from the stream. |
| public Blob | Returns: an object representing a BLOBthe first column is 1, the second is 2, ... columnIndex)Implements java. JDBC 2.0 Get a BLOB column. |
| public final Blob | Returns: an object representing a BLOBthe column name columnName)Implements java. JDBC 2.0 Get a BLOB column. |
| public final boolean | Returns: the column value; if the value is SQL NULL, the result is falsethe first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java boolean. |
| public final boolean | Returns: the column value; if the value is SQL NULL, the result is falseis the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java boolean. |
| public final byte | Returns: the column value; if the value is SQL NULL, the result is 0the first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java byte. |
| public final byte | Returns: the column value; if the value is SQL NULL, the result is 0is the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java byte. |
| public final byte[] | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java byte array. |
| public final byte[] | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java byte array. |
| public final Reader | getCharacterStream(int
the first column is 1, the second is 2, ... columnIndex)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.io.Reader. |
| public final Reader | getCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.io.Reader. |
| public final Clob | Returns: an object representing a CLOBthe first column is 1, the second is 2, ... columnIndex)Implements java. JDBC 2.0 Get a CLOB column. |
| public final Clob | Returns: an object representing a CLOBthe column name columnName)Implements java. JDBC 2.0 Get a CLOB column. |
| protected final DataValueDescriptor | |
| pack-priv final String | |
| pack-priv final int | getColumnType(int columnIndex)
Check the column is in range *and* return the JDBC type of the column. |
| public int | Returns: the concurrency type, CONCUR_READ_ONLY, etc.Implements java. JDBC 2.0 Return the concurrency of this result set. |
| public final String | Returns: the ResultSet's SQL cursor nameImplements java. Get the name of the SQL cursor used by this ResultSet. |
| public final Date | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a java.sql.Date object. |
| public Date | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex, Calendar the calendar to use in constructing the date cal)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.sql.Date object. |
| public Date | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName, Calendar the calendar to use in constructing the date cal)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.sql.Date object. |
| public final Date | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a java.sql.Date object. |
| public final double | Returns: the column value; if the value is SQL NULL, the result is 0the first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java double. |
| public final double | Returns: the column value; if the value is SQL NULL, the result is 0is the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java double. |
| protected DataValueDescriptor | |
| public int | getFetchDirection()
Implements java. JDBC 2.0 Return the fetch direction for this result set. |
| public int | getFetchSize()
Implements java. JDBC 2.0 Return the fetch size for this result set. |
| public final float | Returns: the column value; if the value is SQL NULL, the result is 0the first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java float. |
| public final float | Returns: the column value; if the value is SQL NULL, the result is 0is the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java float. |
| private String | |
| public final int | Returns: eitherResultSet.HOLD_CURSORS_OVER_COMMIT
or ResultSet.CLOSE_CURSORS_AT_COMMITImplements java. JDBC 4.0
Retrieves the holdability for this |
| public final int | Returns: the column value; if the value is SQL NULL, the result is 0the first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java int. |
| public final int | Returns: the column value; if the value is SQL NULL, the result is 0is the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java int. |
| public int | getLength(int
column to access columnIndex)Implements org. Return the length of the designated columnIndex data value. |
| public final long | Returns: the column value; if the value is SQL NULL, the result is 0the first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java long. |
| public final long | Returns: the column value; if the value is SQL NULL, the result is 0is the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java long. |
| private final int | Returns: the maximum length of the columnthe 1-based index of the column columnIndex)Return the user-defined maximum size of the column. |
| public final ResultSetMetaData | Returns: the description of a ResultSet's columnsImplements java. The number, types and properties of a ResultSet's columns are provided by the getMetaData method. |
| public Reader | getNCharacterStream(int
the first column is 1, the second is 2, ... columnIndex)Implements java. Retrieves the value of the designated column in the current row
of this |
| public Reader | getNCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName)Implements java. Retrieves the value of the designated column in the current row
of this |
| public NClob | getNClob(int
the first column is 1, the second is 2, ... i)Implements java. Retrieves the value of the designated column in the current row
of this |
| public NClob | getNClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column colName)Implements java. Retrieves the value of the designated column in the current row
of this |
| public String | getNString(int
the first column is 1, the second is 2, ... columnIndex)Implements java. Retrieves the value of the designated column in the current row
of this |
| public String | getNString(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName)Implements java. Retrieves the value of the designated column in the current row
of this |
| public final Object | Returns: A java.lang.Object holding the column value.the first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java object. |
| public final Object | Returns: A java.lang.Object holding the column value.is the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java object. |
| public Object | Returns: an object representing the SQL valuethe first column is 1, the second is 2, ... columnIndex, Map<String, Class<?>> the mapping from SQL type names to Java classes map)Implements java. JDBC 2.0
Returns the value of column |
| public Object | |
| public <T> T | getObject(int
the first column is 1, the second is 2, ... columnIndex, Class<T> Class representing the Java data type to convert the designated
column to. type)Implements java. Retrieve the column as an object of the desired type. |
| public <T> T | getObject(String
the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name
of the column columnName, Class<T> Class representing the Java data type to convert the designated
column to. type)Implements java. Retrieves the value of the designated column in the current row
of this |
| protected ParameterValueSet | Returns: null if we cannot figure out what parameter value set is currently usingTry to see if we can fish the pvs out of the local statement. |
| public final Ref | Returns: an object representing data of an SQL REF typethe first column is 1, the second is 2, ... i)Implements java. JDBC 2.0 Get a REF(<structured-type>) column. |
| public final Ref | Returns: an object representing data of an SQL REF typethe column name colName)Implements java. JDBC 2.0 Get a REF(<structured-type>) column. |
| public int | Returns: the current row number, else return 0 if there is no current rowImplements java. JDBC 2.0 Determine the current row number. |
| public RowId | getRowId(int
the first column is 1, the second 2, ... columnIndex)Implements java. Retrieves the value of the designated column in the current row of this
|
| public RowId | getRowId(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName)Implements java. Retrieves the value of the designated column in the current row of this
|
| public final short | Returns: the column value; if the value is SQL NULL, the result is 0the first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java short. |
| public final short | Returns: the column value; if the value is SQL NULL, the result is 0is the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java short. |
| protected String | Returns: null if we cannot figure out what SQL Statement is currently executingTry to see if we can fish the SQL Statement out of the local statement. |
| public SQLXML | getSQLXML(int
the first column is 1, the second is 2, ... columnIndex)Implements java. Retrieves the value of the designated column in the current row of
this |
| public SQLXML | getSQLXML(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column colName)Implements java. Retrieves the value of the designated column in the current row of
this |
| public final Statement | Returns: the Statment that produced the result set, or null if the result was produced some other way.Implements java. JDBC 2.0 Return the Statement that produced the ResultSet. |
| public final String | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a Java String. |
| public final String | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a Java String. |
| public final Time | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a java.sql.Time object. |
| public Time | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex, Calendar the calendar to use in constructing the time cal)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.sql.Time object. |
| public Time | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName, Calendar the calendar to use in constructing the time cal)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.sql.Time object. |
| public final Time | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a java.sql.Time object. |
| public final Timestamp | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex)Implements java. Get the value of a column in the current row as a java.sql.Timestamp object. |
| public Timestamp | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName, Calendar the calendar to use in constructing the timestamp cal)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.sql.Timestamp object. |
| public Timestamp | Returns: the column value; if the value is SQL NULL, the result is nullthe first column is 1, the second is 2, ... columnIndex, Calendar the calendar to use in constructing the timestamp cal)Implements java. JDBC 2.0 Get the value of a column in the current row as a java.sql.Timestamp object. |
| public final Timestamp | Returns: the column value; if the value is SQL NULL, the result is nullis the SQL name of the column columnName)Implements java. Get the value of a column in the current row as a java.sql.Timestamp object. |
| public int | Returns: TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, or TYPE_SCROLL_SENSITIVEImplements java. JDBC 2.0 Return the type of this result set. |
| public final InputStream | getUnicodeStream(int
the first column is 1, the second is 2, ... columnIndex)Implements java.
Deprecated
JDBC 2.0 Deprecated in JDBC 2.0, not supported by JCC. |
| public final InputStream | getUnicodeStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName)Implements java.
Deprecated
Deprecated in JDBC 2.0, not supported by JCC. |
| public URL | Returns: the column value as a java.net.URL object, if the value is SQL NULL, the value returned is null in the Java programming language-
the first column is 1, the second is 2 columnIndex)Implements java. JDBC 3.0 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. |
| public URL | Returns: the column value as a java.net.URL object, if the value is SQL NULL, the value returned is null in the Java programming language-
the SQL name of the column columnName)Implements java. JDBC 3.0 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. |
| public final SQLWarning | Returns: the first SQLWarning or nullImplements java. The first warning reported by calls on this ResultSet is returned. |
| private void | |
| public void | insertRow()
Implements java. JDBC 2.0 Insert the contents of the insert row into the result set and the database. |
| public boolean | Returns: true if after the last row, false otherwise. Returns false when the result set contains no rows.Implements java. JDBC 2.0 Determine if the cursor is after the last row in the result set. |
| public boolean | Returns: true if before the first row, false otherwise. Returns false when the result set contains no rows.Implements java. JDBC 2.0 Determine if the cursor is before the first row in the result set. |
| public final boolean | Returns: true if the ResultSet is
closed, false otherwiseImplements java. JDBC 4.0
Checks whether this |
| public boolean | Returns: true if on the first row, false otherwise.Implements java. JDBC 2.0 Determine if the cursor is on the first row of the result set. |
| public final boolean | isForUpdate()
Implements org. Is this result set from a select for update statement? |
| public boolean | Returns: true if on the last row, false otherwise.Implements java. JDBC 2.0 Determine if the cursor is on the last row of the result set. |
| private static boolean | |
| public boolean | isNull(int
Column position columnIndex)Implements org. Is the designated columnIndex a null data value? |
| public boolean | Returns: true if this implements the interface or directly or indirectly wraps an object that does.a Class defining an interface. interfaces)Implements java. Returns false unless
|
| public boolean | Returns: true if on a valid row, false if no rows in the result set.Implements java. JDBC 2.0 Moves to the last row in the result set. |
| private void | |
| private SQLException | |
| protected boolean | |
| protected boolean | |
| public void | moveToCurrentRow()
Implements java. JDBC 2.0 Move the cursor to the remembered cursor position, usually the current row. |
| public void | |
| public boolean | Returns: true if the new current row is valid; false if there are no more rowsImplements java. A ResultSet is initially positioned before its first row; the first call to next makes the first row the current row; the second call makes the second row the current row, etc. If an input stream from the previous row is open, it is implicitly closed. |
| pack-priv static final SQLException | noStateChangeException(Throwable thrownException)
An exception on many method calls to JDBC objects does not change the state of the transaction or statement, or even the underlying object. |
| public boolean | Returns: true if on a valid row, false if off the result set.Implements java. JDBC 2.0 Moves to the previous row in the result set. |
| public void | refreshRow()
Implements java. JDBC 2.0 Refresh the value of the current row with its current value in the database. |
| public boolean | Returns: true if on a row, false otherwise.an row)int specifying the number of rows to
move from the current row; a positive number moves the cursor
forward; a negative number moves the cursor backwardImplements java. JDBC 2.0 Moves a relative number of rows, either positive or negative. |
| public boolean | Returns: true if deleted and deletes are detectedImplements java. JDBC 2.0 Determine if this row has been deleted. |
| public boolean | Returns: true if inserted and inserts are detectedImplements java. JDBC 2.0 Determine if the current row has been inserted. |
| public boolean | Returns: true if the row has been visibly updated by the owner or another, and updates are detectedImplements java. JDBC 2.0 Determine if the current row has been updated. |
| public final void | setApplicationStatement(Statement applicationStmt)
Set the application Statement object that created this ResultSet. |
| pack-priv void | setDynamicResultSet(EmbedStatement owningStmt)
A dynamic result was created in a procedure by a nested connection. |
| public void | setFetchDirection(int
an direction)int specifying the suggested
fetch direction; one of ResultSet.FETCH_FORWARD,
ResultSet.FETCH_REVERSE, or
ResultSet.FETCH_UNKNOWNImplements java. JDBC 2.0 Give a hint as to the direction in which the rows in this result set will be processed. |
| public static void | setFetchedRowBase(long newBase)
Debug method used to test the setLargeMaxRows() method added by JDBC 4.2. |
| public void | setFetchSize(int
the number of rows to fetch rows)Implements java. JDBC 2.0 Give the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this result set. |
| public <T> T | Returns: an object that implements the interfacea Class defining an interface interfaces)Implements java. Returns
|
| public void | updateArray(int
- the first column is 1, the second is 2 columnIndex, Array - the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Array value. |
| public void | updateArray(String
- the SQL name of the column columnName, Array - the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Array value. |
| public void | updateAsciiStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x, long the length of the stream length)Implements java. Update a column with an ascii stream value. |
| public void | updateAsciiStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x)Implements java. Updates the designated column with a character stream value. |
| public void | updateAsciiStream(String
the name of the column columnName, InputStream the new column value x, int of the stream length)Implements java. JDBC 2.0 Update a column with an ascii stream value. |
| public void | updateAsciiStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x, int the length of the stream length)Implements java. JDBC 2.0 Update a column with an ascii stream value. |
| public void | updateAsciiStream(String
the name of the column columnName, InputStream the new column value x, long of the stream length)Implements java. JDBC 4.0 Update a column with an ascii stream value. |
| public void | updateAsciiStream(String
the label for the column specified with the SQL AS
clause. If the SQL AS clause was not specified, then the label is
the name of the column columnName, InputStream the new column value x)Implements java. Updates the designated column with a character stream value. |
| public void | updateBigDecimal(int
the first column is 1, the second is 2, ... columnIndex, BigDecimal the new column value x)Implements java. Updates the designated column with a |
| public void | updateBigDecimal(String
the name of the column columnName, BigDecimal the new column value x)Implements java. JDBC 2.0 Update a column with a BigDecimal value. |
| public void | updateBinaryStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x, long the length of the stream length)Implements java. Update a column with a binary stream value. |
| public void | updateBinaryStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x)Implements java. Updates the designated column with a binary stream value. |
| public void | updateBinaryStream(String
the name of the column columnName, InputStream the new column value x, int of the stream length)Implements java. JDBC 2.0 Update a column with a binary stream value. |
| public void | updateBinaryStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x, int the length of the stream length)Implements java. JDBC 2.0 Update a column with a binary stream value. |
| public void | updateBinaryStream(String
the name of the column columnName, InputStream the new column value x, long of the stream length)Implements java. JDBC 4.0 Update a column with a binary stream value. |
| public void | updateBinaryStream(String
the label for the column specified with the SQL AS
clause. If the SQL AS clause was not specified, then the label is
the name of the column columnName, InputStream the new column value x)Implements java. Updates the designated column with a binary stream value. |
| private void | updateBinaryStreamInternal(int
the 1-based index of the parameter to set. columnIndex, InputStream the data. x, final boolean tells whether we know the length of the data or not. lengthLess, long the length of the data. Ignored if length, String lengthLess
is true.the name of the method calling us. Used in
error messages. updateMethodName)Set the given binary stream for the specified parameter. |
| public void | updateBlob(int
-
the first column is 1, the second is 2 columnIndex, Blob -
the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Blob value. |
| public void | updateBlob(String
-
the SQL name of the column columnName, Blob -
the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Blob value. |
| public void | updateBlob(int
-
the first column is 1, the second is 2 columnIndex, InputStream -
the new column value x, long -
the length of the Blob datatype length)Implements java. JDBC 4.0 Updates the designated column with a java.sql.Blob value. |
| public void | updateBlob(int
the first column is 1, the second is 2, ... columnIndex, InputStream an object that contains the data to set the
parameter value to. x)Implements java. Updates the designated column using the given input stream. |
| public void | updateBlob(String
-
the name of the column to be updated columnName, InputStream -
the new column value x, long -
the length of the Blob datatype length)Implements java. JDBC 4.0 Updates the designated column with a java.sql.Blob value. |
| public void | updateBlob(String
the label for the column specified with the SQL AS
clause. If the SQL AS clause was not specified, then the label is
the name of the column columnName, InputStream an object that contains the data to set the
parameter value to. x)Implements java. Updates the designated column using the given input stream. |
| public void | updateBoolean(int
the first column is 1, the second is 2, ... columnIndex, boolean the new column value x)Implements java. JDBC 2.0 Update a column with a boolean value. |
| public void | updateBoolean(String
the name of the column columnName, boolean the new column value x)Implements java. JDBC 2.0 Update a column with a boolean value. |
| public void | updateByte(int
the first column is 1, the second is 2, ... columnIndex, byte the new column value x)Implements java. JDBC 2.0 Update a column with a byte value. |
| public void | updateByte(String
the name of the column columnName, byte the new column value x)Implements java. JDBC 2.0 Update a column with a byte value. |
| public void | updateBytes(int
the first column is 1, the second is 2, ... columnIndex, byte[] the new column value x)Implements java. JDBC 2.0 Update a column with a byte array value. |
| public void | updateBytes(String
the name of the column columnName, byte[] the new column value x)Implements java. JDBC 2.0 Update a column with a byte array value. |
| public void | updateCharacterStream(int
the first column is 1, the second is 2, ... columnIndex, Reader the new column value x, long the length of the stream length)Implements java. JDBC 4.0 Update a column with a character stream value. |
| public void | updateCharacterStream(int
the first column is 1, the second is 2, ... columnIndex, Reader the new column value x)Implements java. Updates the designated column with a character stream value. |
| public void | updateCharacterStream(String
the name of the column columnName, Reader the new column value reader, int length of the stream length)Implements java. JDBC 2.0 Update a column with a character stream value. |
| public void | updateCharacterStream(int
the first column is 1, the second is 2, ... columnIndex, Reader the new column value x, int the length of the stream length)Implements java. JDBC 2.0 Update a column with a character stream value. |
| public void | updateCharacterStream(String
the name of the column columnName, Reader the new column value reader, long length of the stream length)Implements java. JDBC 4.0 Update a column with a character stream value. |
| public void | updateCharacterStream(String
the label for the column specified with the SQL AS
clause. If the SQL AS clause was not specified, then the label is
the name of the column columnName, Reader the new column value reader)Implements java. Updates the designated column with a character stream value. |
| private void | updateCharacterStreamInternal(int
the 1-based index of the parameter to set. columnIndex, Reader the data. reader, final boolean tells whether we know the length of the data or not. lengthLess, long the length of the data. Ignored if length, String updateMethodName)lengthLess
is true.Set the given character stream for the specified parameter. |
| public void | updateClob(int
-
the first column is 1, the second is 2 columnIndex, Clob -
the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Clob value. |
| public void | updateClob(String
-
the SQL name of the column columnName, Clob -
the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Clob value. |
| public void | updateClob(int
-
the first column is 1, the second is 2 columnIndex, Reader -
the new column value x, long the number of characters in the parameter data. length)Implements java. JDBC 4.0 Updates the designated column with a java.sql.Clob value. |
| public void | updateClob(int
the first column is 1, the second is 2, ... columnIndex, Reader an object that contains the data to set the parameter
value to x)Implements java. Updates the designated column using the given |
| public void | updateClob(String
-
the name of the Clob column columnName, Reader -
the new column value x, long the number of characters in the parameter data. length)Implements java. JDBC 4.0 Updates the designated column with a java.sql.Clob value. |
| public void | updateClob(String
the label for the column specified with the SQL AS
clause. If the SQL AS clause was not specified, then the label is
the name of the column columnName, Reader an object that contains the data to set the parameter
value to x)Implements java. Updates the designated column using the given |
| public void | updateDate(int
the first column is 1, the second is 2, ... columnIndex, Date the new column value x)Implements java. JDBC 2.0 Update a column with a Date value. |
| public void | updateDate(String
the name of the column columnName, Date the new column value x)Implements java. JDBC 2.0 Update a column with a Date value. |
| public void | updateDouble(int
the first column is 1, the second is 2, ... columnIndex, double the new column value x)Implements java. JDBC 2.0 Update a column with a Double value. |
| public void | updateDouble(String
the name of the column columnName, double the new column value x)Implements java. JDBC 2.0 Update a column with a double value. |
| public void | updateFloat(int
the first column is 1, the second is 2, ... columnIndex, float the new column value x)Implements java. JDBC 2.0 Update a column with a float value. |
| public void | updateFloat(String
the name of the column columnName, float the new column value x)Implements java. JDBC 2.0 Update a column with a float value. |
| public void | updateInt(int
the first column is 1, the second is 2, ... columnIndex, int the new column value x)Implements java. JDBC 2.0 Update a column with an integer value. |
| public void | updateInt(String
the name of the column columnName, int the new column value x)Implements java. JDBC 2.0 Update a column with an integer value. |
| public void | updateLong(int
the first column is 1, the second is 2, ... columnIndex, long the new column value x)Implements java. JDBC 2.0 Update a column with a long value. |
| public void | updateLong(String
the name of the column columnName, long the new column value x)Implements java. JDBC 2.0 Update a column with a long value. |
| public void | updateNCharacterStream(int
the first column is 1, the second is 2, ... columnIndex, Reader the new column value x)Implements java. Updates the designated column with a character stream value. |
| public void | updateNCharacterStream(int
the first column is 1, the second is 2, ... columnIndex, Reader the new column value x, long the length of the stream length)Implements java. Updates the designated column with a character stream value, which will have the specified number of bytes. |
| public void | updateNCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName, Reader the x)java.io.Reader object containing
the new column valueImplements java. Updates the designated column with a character stream value. |
| public void | updateNCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName, Reader the x, long java.io.Reader object containing
the new column valuethe length of the stream length)Implements java. Updates the designated column with a character stream value, which will have the specified number of bytes. |
| public void | updateNClob(int
the first column is 1, the second 2, ... columnIndex, NClob the value for the column to be updated nClob)Implements java. Updates the designated column with a |
| public void | updateNClob(int
the first column is 1, the second 2, ... columnIndex, Reader An object that contains the data to set the parameter value to. reader)Implements java. Updates the designated column using the given |
| public void | updateNClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName, NClob the value for the column to be updated nClob)Implements java. Updates the designated column with a |
| public void | updateNClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName, Reader An object that contains the data to set the parameter value to. reader)Implements java. Updates the designated column using the given |
| public void | updateNClob(int
- the first column is 1, the second is 2 columnIndex, Reader - the new column value x, long - the length of the stream length)Implements java. Updates the designated column using the given Reader object, which is the given number of characters long. |
| public void | updateNClob(String
- the Name of the column to be updated columnName, Reader - the new column value x, long - the length of the stream length)Implements java. Updates the designated column using the given Reader object, which is the given number of characters long. |
| public void | updateNString(int
the first column is 1, the second 2, ... columnIndex, String the value for the column to be updated nString)Implements java. Updates the designated column with a |
| public void | updateNString(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName, String the value for the column to be updated nString)Implements java. Updates the designated column with a |
| public void | updateNull(int
the first column is 1, the second is 2, ... columnIndex)Implements java. JDBC 2.0 Give a nullable column a null value. |
| public void | updateNull(String
the name of the column columnName)Implements java. JDBC 2.0 Update a column with a null value. |
| public void | updateObject(int
the first column is 1, the second is 2, ... columnIndex, Object the new column value x, int For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types
this is the number of digits after the decimal. For all other
types this value will be ignored. scale)Implements java. JDBC 2.0 Update a column with an Object value. |
| public void | updateObject(int
the first column is 1, the second is 2, ... columnIndex, Object the new column value x)Implements java. JDBC 2.0 Update a column with an Object value. |
| public void | updateObject(String
the name of the column columnName, Object the new column value x, int For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types
this is the number of digits after the decimal. For all other
types this value will be ignored. scale)Implements java. JDBC 2.0 Update a column with an Object value. |
| public void | updateObject(String
the name of the column columnName, Object the new column value x)Implements java. JDBC 2.0 Update a column with an Object value. |
| public void | updateRef(int
- the first column is 1, the second is 2 columnIndex, Ref - the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Ref value. |
| public void | updateRef(String
- the SQL name of the column columnName, Ref - the new column value x)Implements java. JDBC 3.0 Updates the designated column with a java.sql.Ref value. |
| public void | updateRow()
Implements java. JDBC 2.0 Update the underlying database with the new contents of the current row. |
| public void | updateRowId(int
the first column is 1, the second 2, ... columnIndex, RowId the column value x)Implements java. Updates the designated column with a |
| public void | updateRowId(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName, RowId the column value x)Implements java. Updates the designated column with a |
| public void | updateShort(int
the first column is 1, the second is 2, ... columnIndex, short the new column value x)Implements java. JDBC 2.0 Update a column with a short value. |
| public void | updateShort(String
the name of the column columnName, short the new column value x)Implements java. JDBC 2.0 Update a column with a short value. |
| public void | updateSQLXML(int
the first column is 1, the second 2, ... columnIndex, SQLXML the value for the column to be updated xmlObject)Implements java. Updates the designated column with a |
| public void | updateSQLXML(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnName, SQLXML the column value xmlObject)Implements java. Updates the designated column with a |
| public void | updateString(int
the first column is 1, the second is 2, ... columnIndex, String the new column value x)Implements java. JDBC 2.0 Update a column with a String value. |
| public void | updateString(String
the name of the column columnName, String the new column value x)Implements java. JDBC 2.0 Update a column with a String value. |
| public void | updateTime(int
the first column is 1, the second is 2, ... columnIndex, Time the new column value x)Implements java. JDBC 2.0 Update a column with a Time value. |
| public void | updateTime(String
the name of the column columnName, Time the new column value x)Implements java. JDBC 2.0 Update a column with a Time value. |
| public void | updateTimestamp(int
the first column is 1, the second is 2, ... columnIndex, Timestamp the new column value x)Implements java. JDBC 2.0 Update a column with a Timestamp value. |
| public void | updateTimestamp(String
the name of the column columnName, Timestamp the new column value x)Implements java. JDBC 2.0 Update a column with a Timestamp value. |
| pack-priv final void | useStreamOrLOB(int
1-based column index columnIndex)Mark a column as already having a stream or LOB accessed from it. |
| public final boolean | Returns: true if last column read was SQL NULLImplements java. A column may have the value of SQL NULL; wasNull reports whether the last column read had this special value. |