FilteredRowSet interface. See the interface
definition for full behavior and implementation requirements.
javax.sql.rowset.Predicate
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Predicate | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FilteredRowSetImpl(Hashtable<K, V>
a Hashtable containing a desired synchconizatation provider
name-value pair. env)Construct a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the cursor is on the rowset; false
otherwisea positive number to indicate the row, starting row numbering from
the first row, which is rows)1; a negative number to indicate
the row, starting row numbering from the last row, which is
-1; it must not be 0Overrides com. Implements java. Moves this |
| public Predicate | Returns: aPredicate object instanceImplements javax. Retrieve the filter active for this |
| public void | insertRow()
Overrides com. Implements java. Inserts the contents of this |
| protected boolean | Returns: true if over the valid row in the rowset; false if over the last rowOverrides com. Over-riding |
| protected boolean | Returns: true if over the valid row in the rowset; false if over the last rowOverrides com. Over-riding |
| protected boolean | Returns: true if over the valid row in the rowset; false if over the last rowOverrides com. Over-riding |
| protected boolean | Returns: true if over the valid row in the rowset; false if over the last rowOverrides com. Over-riding |
| public void | moveToInsertRow()
Overrides com. Implements java. Moves the cursor for this |
| private void | readObject(ObjectInputStream ois)
Hides com. This method re populates the resBundle during the deserialization process |
| public boolean | Returns: true if the cursor is on a row in this
CachedRowSetImpl object; false
otherwisean rows)int indicating the number of rows to move
the cursor, starting at the current row; a positive number
moves the cursor forward; a negative number moves the cursor
backward; must not move the cursor past the valid
rowsOverrides com. Implements java. Moves the cursor the specified number of rows from the current position, with a positive number moving it forward and a negative number moving it backward. |
| public void | setFilter(Predicate
an implementation of the predicate interface p)Implements javax. Apply the predicate for this filter |
| public void | updateAsciiStream(int
the first column is columnIndex, InputStream 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x, int the number of one-byte ASCII characters in the stream length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateAsciiStream(String
a columnName, InputStream String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x, int the number of one-byte ASCII characters in the stream length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBigDecimal(int
the first column is columnIndex, BigDecimal 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBigDecimal(String
a columnName, BigDecimal String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBinaryStream(int
the first column is columnIndex, InputStream 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value; must be a x, int java.io.InputStream
containing BINARY, VARBINARY, or
LONGVARBINARY datathe length of the stream in bytes length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBinaryStream(String
a columnName, InputStream String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value; must be a x, int java.io.InputStream
containing BINARY, VARBINARY, or
LONGVARBINARY datathe length of the stream in bytes length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBoolean(int
the first column is columnIndex, boolean 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBoolean(String
a columnName, boolean String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateByte(int
the first column is columnIndex, byte 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateByte(String
a columnName, byte String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBytes(int
the first column is columnIndex, byte[] 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBytes(String
a columnName, byte[] String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateCharacterStream(int
the first column is columnIndex, Reader 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value; must be a x, int java.io.Reader
containing BINARY, VARBINARY,
LONGVARBINARY, CHAR, VARCHAR,
or LONGVARCHAR datathe length of the stream in characters length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateCharacterStream(String
a columnName, Reader String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value; must be a
reader, int java.io.Reader containing BINARY,
VARBINARY, LONGVARBINARY, CHAR,
VARCHAR, or LONGVARCHAR datathe length of the stream in characters length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDate(int
the first column is columnIndex, Date 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDate(String
a columnName, Date String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDouble(int
the first column is columnIndex, double 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDouble(String
a columnName, double String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateFloat(int
the first column is columnIndex, float 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateFloat(String
a columnName, float String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateInt(int
the first column is columnIndex, int 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateInt(String
a columnName, int String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateLong(int
the first column is columnIndex, long 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateLong(String
a columnName, long String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateObject(int
the first column is columnIndex, Object 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateObject(String
a columnName, Object String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateObject(int
the first column is columnIndex, Object 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x, int the number of digits to the right of the decimal point (for
scale)DECIMAL and NUMERIC types only)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateObject(String
a columnName, Object String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x, int the number of digits to the right of the decimal point (for
scale)DECIMAL and NUMERIC types only)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateShort(int
the first column is columnIndex, short 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateShort(String
a columnName, short String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateString(int
the first column is columnIndex, String 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateString(String
a columnName, String String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTime(int
the first column is columnIndex, Time 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTime(String
a columnName, Time String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTimestamp(int
the first column is columnIndex, Timestamp 1, the second
is 2, and so on; must be 1 or larger
and equal to or less than the number of columns in this rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTimestamp(String
a columnName, Timestamp String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |