|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package com.sun.sql.rowset |
|---|
| Class com.sun.sql.rowset.BaseRowSetX extends javax.sql.rowset.BaseRowSet implements Serializable |
|---|
| Serialized Fields |
|---|
int maxRows
int fetchDir
RowSet object is going
to be fetched. The following ResultSet constants are
possible values:
FETCH_FORWARD,
FETCH_REVERSE,
FETCH_UNKNOWN.
Unused at this time.
int fetchSize
RowSet object .
Unused at this time.
| Class com.sun.sql.rowset.CachedRowSetXImpl extends CachedRowSetXImpl5 implements Serializable |
|---|
| Class com.sun.sql.rowset.CachedRowSetXImpl5 extends BaseRowSetX implements Serializable |
|---|
| Serialized Fields |
|---|
java.beans.PropertyChangeSupport propertyChangeSupport
PropertyChangeSupport object helps in providing
support for property change listeners.
boolean executed
executed flag tells us whether to throw exceptions
when methods are called that require the rowset to have been executed
boolean internalUseInstance
internalUseInstance flag tells to ignore exceptional conditions
with regard to the rowset not being executed. We must do this because this class
is also used internally and methods are called that would result in a rowset not
executed sqlexception if the user called them.
javax.sql.rowset.spi.SyncProvider provider
SyncProvider used by the CachedRowSet
javax.sql.RowSetReader rowSetReader
RowSetReaderImpl object that is the reader
for this rowset. The method execute uses this
reader as part of its implementation.
javax.sql.RowSetWriter rowSetWriter
RowSetWriterImpl object that is the writer
for this rowset. The method acceptChanges uses
this writer as part of its implementation.
javax.sql.RowSetMetaData rowSetMD
RowSetMetaData object that contains information about
the columns in this CachedRowSetXImpl object.
int[] keyCols
CachedRowSetXImpl
object that form a unique identifier for a row. This array
is used by the writer.
java.lang.String tableName
ResultSetMetaData
object.
java.util.Vector rvh
Vector object containing the Row
objects that comprise this CachedRowSetXImpl object.
int cursorPos
CachedRowSetXImpl
object.
int absolutePos
CachedRowSetXImpl
object not counting rows that have been deleted, if any.
For example, suppose that the cursor is on the last row of a rowset
that started with five rows and subsequently had the second and third
rows deleted. The absolutePos would be 3,
whereas the cursorPos would be 5.
int numDeleted
CachedRowSetXImpl
object.
int numRows
CachedRowSetXImpl
object.
com.sun.rowset.internal.InsertRow insertRow
ResultSet.updateXXX
methods to insert column values into the insert row.
boolean onInsertRow
boolean indicating whether the cursor is
currently on the insert row.
int currentRow
boolean lastValueNull
boolean indicating whether the last value
returned was an SQL NULL.
java.sql.SQLWarning sqlwarn
SQLWarning which logs on the warnings
java.lang.String strMatchColumn
int iMatchColumn
javax.sql.rowset.RowSetWarning rowsetWarning
RowSetWarning which logs on the warnings
java.lang.String DEFAULT_SYNC_PROVIDER
boolean dbmslocatorsUpdateCopy
java.sql.ResultSet resultSet
ResultSet object that is used to maintain the data when
a ResultSet and start position are passed as parameters to the populate function
int endPos
int prevEndPos
int startPos
int startPrev
int pageSize
int maxRowsreached
boolean pagenotend
boolean onFirstPage
boolean onLastPage
int populatecallcount
int totalRows
boolean callWithCon
CachedRowSetXReader crsReader
java.util.Vector iMatchColumns
java.util.Vector strMatchColumns
boolean tXWriter
javax.sql.rowset.spi.TransactionalWriter tWriter
java.lang.String catalogName
java.lang.String schemaName
java.lang.String[] columnCatalogNames
java.lang.String[] columnSchemaNames
java.lang.String[] columnTableNames
java.lang.String[] columnNames
boolean[] insertableColumns
boolean[] updatableColumns
boolean printStatements
| Class com.sun.sql.rowset.RowSetMetaDataXImpl extends javax.sql.rowset.RowSetMetaDataImpl implements Serializable |
|---|
| Serialized Fields |
|---|
java.lang.String[] columnClassName
boolean[] definitelyWritable
boolean[] readOnly
boolean[] writable
| Package com.sun.sql.rowset.internal |
|---|
| Class com.sun.sql.rowset.internal.CachedRowSetXReader extends java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
int writerCalls
CachedRowSetXReader object's rowset has been called since
the rowset was populated.
When this CachedRowSetXReader object reads data into
its rowset, it sets the field writerCalls to 0.
When the writer associated with the rowset is called to write
data back to the underlying data source, its writeData
method calls the method CachedRowSetXReader.reset,
which increments writerCalls and returns true
if writerCalls is 1. Thus, writerCalls equals
1 after the first call to writeData that occurs
after the rowset has had data read into it.
boolean userCon
int startPosition
| Class com.sun.sql.rowset.internal.CachedRowSetXWriter extends java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
java.sql.Connection con
Connection object that this writer will use to make a
connection to the data source to which it will write data.
java.lang.String selectCmd
SELECT command that this writer will call
internally. The method initSQLStatements builds this
command by supplying the words "SELECT" and "FROM," and using
metadata to get the table name and column names .
java.lang.String updateCmd
UPDATE command that this writer will call
internally to write data to the rowset's underlying data source.
The method initSQLStatements builds this String
object.
java.lang.String updateWhere
WHERE clause the writer will use for update
statements in the PreparedStatement object
it sends to the underlying data source.
java.lang.String deleteCmd
DELETE command that this writer will call
internally to delete a row in the rowset's underlying data source.
java.lang.String deleteWhere
WHERE clause the writer will use for delete
statements in the PreparedStatement object
it sends to the underlying data source.
java.lang.String insertCmd
INSERT INTO command that this writer will internally use
to insert data into the rowset's underlying data source. The method
initSQLStatements builds this command with a question
mark parameter placeholder for each column in the rowset.
java.util.List insertableColumnsInThisTable
java.util.List updatableColumnsInThisTable
java.util.List whereColumnsInThisTable
java.lang.String[] realColumnNames
int[] keyCols
CachedRowSet object
for which this CachedRowSetXWriter object is the writer.
NOTE: keyColumns in CachedRowSetXImpl are ignored and they are computed
from whereColumnsInThisTable
java.lang.Object[] params
PreparedStatement object that this
writer will execute.
CachedRowSetXReader reader
CachedRowSetXReader object that has been
set as the reader for the CachedRowSet object
for which this CachedRowSetXWriter object is the writer.
java.sql.ResultSetMetaData callerMd
ResultSetMetaData object that contains information
about the columns in the CachedRowSet object
for which this CachedRowSetXWriter object is the writer.
int callerColumnCount
CachedRowSet object
for which this CachedRowSetXWriter object is the writer.
CachedRowSetXImpl crsResolve
CachedRowSet will hold the conflicting values
retrieved from the db and hold it.
java.util.ArrayList status
ArrayList will hold the values of SyncResolver.*
java.util.ArrayList exceptions
ArrayList will hold the SQLExceptions of SyncResolver.*
int iChangedValsInDbAndCRS
int iChangedValsinDbOnly
| Class com.sun.sql.rowset.internal.SyncResolverXImpl extends CachedRowSetXImpl implements Serializable |
|---|
| Serialized Fields |
|---|
CachedRowSetXImpl crsRes
CachedRowSetXImpl crsSync
java.util.ArrayList stats
java.util.ArrayList exceptions
CachedRowSetXWriter crw
int rowStatus
int sz
CachedRowSet object
java.sql.Connection con
Connection handle used to synchronize the changes
back to datasource. This is the same connection handle as was passed
to the CachedRowSet while fetching the data.
javax.sql.rowset.CachedRowSet row
CachedRowSet object which will encapsulate
a row at any time. This will be built from CachedRowSet and
SyncResolver values. Synchronization takes place on a row by
row basis encapsulated as a CahedRowSet.
| Package com.sun.sql.rowset.providers |
|---|
| Class com.sun.sql.rowset.providers.RIOptimisticProvider extends javax.sql.rowset.spi.SyncProvider implements Serializable |
|---|
| Serialized Fields |
|---|
CachedRowSetXReader reader
CachedRowSetXWriter writer
java.lang.String providerID
java.lang.String vendorName
java.lang.String versionNumber
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||