|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Class com.sun.rowset.internal.BaseRow extends java.lang.Object implements Serializable |
Serialized Fields |
java.lang.Object[] origVals
BaseRow
object.
Class javax.sql.rowset.BaseRowSet extends java.lang.Object implements Serializable |
serialVersionUID: 4886719666485113312l
Serialized Fields |
java.io.InputStream binaryStream
InputStream
object that will be
returned by the method getBinaryStream
, which is
specified in the ResultSet
interface.
java.io.InputStream unicodeStream
InputStream
object that will be
returned by the method getUnicodeStream
,
which is specified in the ResultSet
interface.
java.io.InputStream asciiStream
InputStream
object that will be
returned by the method getAsciiStream
,
which is specified in the ResultSet
interface.
java.io.Reader charStream
Reader
object that will be
returned by the method getCharacterStream
,
which is specified in the ResultSet
interface.
java.lang.String command
execute
is called.
java.lang.String URL
DriverManager.getConnection
when the
DriverManager
is used to get a connection.
The JDBC URL identifies the driver to be used to make the conndection. This URL can be found in the documentation supplied by the driver vendor.
java.lang.String dataSource
DataSource
object from a Java
Directory and Naming Interface (JNDI) naming service.
int rowSetType
RowSet
object. It must be one of the following ResultSet
constants: TYPE_FORWARD_ONLY
,
TYPE_SCROLL_INSENSITIVE
, or
TYPE_SCROLL_SENSITIVE
.
boolean showDeleted
boolean
indicating whether deleted rows are visible in this
JDBC RowSet
object .
int queryTimeout
RowSet
object is connected to its data
source, that is, while it is populating itself with
data and while it is writing data back to the data source.
int maxRows
int maxFieldSize
int concurrency
RowSet
object. It must be one of the following ResultSet
constants: CONCUR_READ_ONLY
or
CONCUR_UPDATABLE
.
boolean readOnly
boolean
indicating whether this JDBC RowSet
object is read-only. true
indicates that it is read-only;
false
that it is writable.
boolean escapeProcessing
boolean
indicating whether the reader for this
JDBC RowSet
object should perform escape processing.
true
means that escape processing is turned on;
false
that it is not. The default is true
.
int isolation
RowSet
object . It must be one of
the following Connection
constants:
TRANSACTION_NONE
,
TRANSACTION_READ_UNCOMMITTED
,
TRANSACTION_READ_COMMITTED
,
TRANSACTION_REPEATABLE_READ
or
TRANSACTION_SERIALIZABLE
.
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.
java.util.Map map
java.util.Map
object that contains entries mapping
SQL type names to classes in the Java programming language for the
custom mapping of user-defined types.
java.util.Vector listeners
Vector
object that holds the list of listeners
that have registered with this RowSet
object.
java.util.Hashtable params
Vector
object that holds the parameters set
for this RowSet
object's current command.
Class com.sun.sql.rowset.BaseRowSetX extends 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.rowset.CachedRowSetImpl extends BaseRowSet implements Serializable |
Serialized Fields |
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.
RowSetMetaDataImpl RowSetMD
RowSetMetaData
object that contains information about
the columns in this CachedRowSetImpl
object.
int[] keyCols
CachedRowSetImpl
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 CachedRowSetImpl
object.
int cursorPos
CachedRowSetImpl
object.
int absolutePos
CachedRowSetImpl
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
CachedRowSetImpl
object.
int numRows
CachedRowSetImpl
object.
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
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
CachedRowSetReader crsReader
java.util.Vector iMatchColumns
java.util.Vector strMatchColumns
boolean tXWriter
TransactionalWriter tWriter
Class com.sun.rowset.internal.CachedRowSetReader extends java.lang.Object implements Serializable |
Serialized Fields |
int writerCalls
CachedRowSetReader
object's rowset has been called since
the rowset was populated.
When this CachedRowSetReader
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 CachedRowSetReader.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.rowset.internal.CachedRowSetWriter 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.
int[] keyCols
CachedRowSet
object
for which this CachedRowSetWriter
object is the writer.
java.lang.Object[] params
PreparedStatement
object that this
writer will execute.
CachedRowSetReader reader
CachedRowSetReader
object that has been
set as the reader for the CachedRowSet
object
for which this CachedRowSetWriter
object is the writer.
java.sql.ResultSetMetaData callerMd
ResultSetMetaData
object that contains information
about the columns in the CachedRowSet
object
for which this CachedRowSetWriter
object is the writer.
int callerColumnCount
CachedRowSet
object
for which this CachedRowSetWriter
object is the writer.
CachedRowSetImpl 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.*
int iChangedValsInDbAndCRS
int iChangedValsinDbOnly
Class com.sun.sql.rowset.CachedRowSetXImpl 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.
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.
RowSetMetaDataXImpl 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.
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
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
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.rowset.FilteredRowSetImpl extends WebRowSetImpl implements Serializable |
Serialized Fields |
Predicate p
boolean onInsertRow
Class com.sun.rowset.internal.InsertRow extends BaseRow implements Serializable |
Serialized Fields |
java.util.BitSet colsInserted
BitSet
object used to keep track of the
columns in this InsertRow
object that have had a value
inserted.
int cols
InsertRow
object.
Class com.sun.rowset.JdbcRowSetImpl extends BaseRowSet implements Serializable |
Serialized Fields |
java.sql.Connection conn
Connection
object that is this rowset's
current connection to the database. This field is set
internally when the connection is established.
java.sql.PreparedStatement ps
PreparedStatement
object that is this rowset's
current command. This field is set internally when the method
execute
creates the PreparedStatement
object.
java.sql.ResultSet rs
ResultSet
object that is this rowset's
current result set. This field is set internally when the method
execute
executes the rowset's command and thereby
creates the rowset's ResultSet
object.
RowSetMetaDataImpl rowsMD
RowSetMetaDataImpl
object that is contructed when
a ResultSet
object is passed to the JdbcRowSet
constructor. This helps in constructing all metadata associated
with the ResultSet
object using the setter methods of
RowSetMetaDataImpl
.
java.sql.ResultSetMetaData resMD
ResultSetMetaData
object from which this
RowSetMetaDataImpl
is formed and which helps in getting
the metadata information.
java.beans.PropertyChangeSupport propertyChangeSupport
JdbcRowSet
object. This property
is being added to satisfy Rave requirements.
java.util.Vector iMatchColumns
java.util.Vector strMatchColumns
Class com.sun.sql.rowset.JdbcRowSetXImpl extends BaseRowSetX implements Serializable |
Serialized Fields |
boolean onInsertRow
java.util.HashMap insertedRowObjects
boolean wasNullObject
boolean autoCommit
Connection
object that is
this JdbcRowSetXImpl
object's connection to the database.
This field is set internally when the connection is established.
java.sql.Connection conn
Connection
object that is this JdbcRowSetXImpl
object's connection to the database. This field is set internally when the
connection is established.
int holdability
JdbcRowSetXImpl
object.
This field is set internally when prepareStatement
is called as
a result of various methods being called on the JdbcRowSetXImpl
(e.g., execute(), getMetaData(), getParameterMetaData())
java.sql.PreparedStatement ps
PreparedStatement
object that this JdbcRowSetXImpl
object uses internally.
java.beans.PropertyChangeSupport propertyChangeSupport
PropertyChangeSupport
object helps in providing
support for property change listeners.
java.sql.ResultSet rs
ResultSet
object that is this JdbcRowSetXImpl
object's current result set. This field is set internally when the method
execute
executes the PreparedStatement
and thereby creates
creates the internal ResultSet
object.
java.sql.ResultSetMetaData rsmd
ResultSetMetaData
object that is associated with the
PreparedStatement
and the ResultSet
java.util.Vector iMatchColumns
java.util.Vector strMatchColumns
Class com.sun.rowset.JoinRowSetImpl extends WebRowSetImpl implements Serializable |
Serialized Fields |
java.util.Vector vecRowSetsInJOIN
Vector
object that contains the RowSet
objects
that have been added to this JoinRowSet
object.
CachedRowSetImpl crsInternal
CachedRowSet
object that encapsulates this
JoinRowSet
object.
When RowSet
objects are added to this JoinRowSet
object, they are also added to crsInternal to form the same kind of
SQL JOIN
. As a result, methods for making updates to this
JoinRowSet
object can use crsInternal methods in their
implementations.
java.util.Vector vecJoinType
Vector
object containing the types of join that have been set
for this JoinRowSet
object.
The last join type set forms the basis of succeeding joins.
java.util.Vector vecTableNames
Vector
object containing the names of all the tables entering
the join.
int iMatchKey
int
that indicates the column index of the match column.
java.lang.String strMatchKey
String
object that stores the name of the match column.
boolean[] supportedJOINs
boolean
values indicating the types of joins supported
by this JoinRowSet
implementation.
WebRowSet wrs
WebRowSet
object that encapsulates this JoinRowSet
object. This WebRowSet
object allows this JoinRowSet
object to leverage the properties and methods of a WebRowSet
object.
Class com.sun.rowset.providers.RIOptimisticProvider extends SyncProvider implements Serializable |
Serialized Fields |
CachedRowSetReader reader
CachedRowSetWriter writer
java.lang.String providerID
java.lang.String vendorName
java.lang.String versionNumber
Class com.sun.rowset.internal.Row extends BaseRow implements Serializable |
Serialized Fields |
java.lang.Object[] currentVals
Row
object.
java.util.BitSet colsChanged
BitSet
object containing a flag for each column in
this Row
object, with each flag indicating whether or
not the value in the column has been changed.
boolean deleted
boolean
indicating whether or not this Row
object has been deleted. true
indicates that it has
been deleted; false
indicates that it has not.
boolean updated
boolean
indicating whether or not this Row
object has been updated. true
indicates that it has
been updated; false
indicates that it has not.
boolean inserted
boolean
indicating whether or not this Row
object has been inserted. true
indicates that it has
been inserted; false
indicates that it has not.
int numCols
Row
object.
Class javax.sql.rowset.RowSetMetaDataImpl extends java.lang.Object implements Serializable |
serialVersionUID: 6893806403181801867l
Serialized Fields |
int colCount
RowSet
object that created
this RowSetMetaDataImpl
object.
javax.sql.rowset.RowSetMetaDataImpl.ColInfo[] colInfo
ColInfo
objects used to store information
about each column in the RowSet
object for which
this RowSetMetaDataImpl
object was created. The first
ColInfo
object in this array contains information about
the first column in the RowSet
object, the second element
contains information about the second column, and so on.
Class com.sun.sql.rowset.RowSetMetaDataXImpl extends RowSetMetaDataImpl implements Serializable |
Serialized Fields |
java.lang.String[] columnClassName
boolean[] definitelyWritable
boolean[] readOnly
boolean[] writable
Class javax.sql.rowset.RowSetWarning extends java.sql.SQLException implements Serializable |
serialVersionUID: 6678332766434564774l
Serialized Fields |
RowSetWarning rwarning
Class javax.sql.rowset.serial.SerialArray extends java.lang.Object implements Serializable |
serialVersionUID: -8466174297270688520l
Serialized Fields |
java.lang.Object[] elements
Object
in the Java programming language that represents an element
in the SQL ARRAY
value.
int baseType
SerialArray
object. The
type is expressed as one of the constants from the class
java.sql.Types
.
java.lang.String baseTypeName
ARRAY
value that this SerialArray
object represents.
int len
SerialArray
object, which
is also the number of elements in the SQL ARRAY
value
that this SerialArray
object represents.
Class javax.sql.rowset.serial.SerialBlob extends java.lang.Object implements Serializable |
serialVersionUID: -8144641928112860441l
Serialized Fields |
byte[] buf
SerialBlob
object.
java.sql.Blob blob
Blob
object on which this
SerialBlob
object is based.
long len
SerialBlob
object's
array of bytes.
long origLen
SerialBlob
object's
array of bytes when it was first established.
Class javax.sql.rowset.serial.SerialClob extends java.lang.Object implements Serializable |
serialVersionUID: -1662519690087375313l
Serialized Fields |
char[] buf
CLOB
value that this SerialClob
object
represents.
java.sql.Clob clob
long len
SerialClob
object's
internal array of characters.
long origLen
SerialClob
objects internal array of characters.
Class javax.sql.rowset.serial.SerialDatalink extends java.lang.Object implements Serializable |
serialVersionUID: 2826907821828733626l
Serialized Fields |
java.net.URL url
int baseType
SerialDatalink
object. The type is expressed as one of the contants from the
class java.sql.Types
.
java.lang.String baseTypeName
DATALINK
value that this SerialDatalink object
represents.
Class javax.sql.rowset.serial.SerialException extends java.sql.SQLException implements Serializable |
serialVersionUID: -489794565168592690l
Class javax.sql.rowset.serial.SerialJavaObject extends java.lang.Object implements Serializable |
serialVersionUID: -1465795139032831023l
Serialized Fields |
java.lang.Object obj
java.util.Vector chain
Class javax.sql.rowset.serial.SerialRef extends java.lang.Object implements Serializable |
serialVersionUID: -4727123500609662274l
Serialized Fields |
java.lang.String baseTypeName
java.lang.Object object
Ref
as an Object
java.sql.Ref reference
Class javax.sql.rowset.serial.SerialStruct extends java.lang.Object implements Serializable |
serialVersionUID: -8322445504027483372l
Serialized Fields |
java.lang.String SQLTypeName
SerialStruct
represents. This is the name
used in the SQL definition of the SQL structured type.
java.lang.Object[] attribs
Object
instances in which each
element is an attribute of the SQL structured type that this
SerialStruct
object represents. The attributes are
ordered according to their order in the definition of the
SQL structured type.
Class javax.sql.rowset.spi.SyncFactoryException extends java.sql.SQLException implements Serializable |
serialVersionUID: -4354595476433200352l
Class javax.sql.rowset.spi.SyncProviderException extends java.sql.SQLException implements Serializable |
serialVersionUID: -939908523620640692l
Serialized Fields |
SyncResolver syncResolver
javax.sql.rowset.spi.SyncResolver
that
this SyncProviderException
object will return when its
getSyncResolver
method is called.
Class com.sun.rowset.internal.SyncResolverImpl extends CachedRowSetImpl implements Serializable |
Serialized Fields |
CachedRowSetImpl crsRes
CachedRowSetImpl crsSync
java.util.ArrayList stats
CachedRowSetWriter 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.
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.
Class com.sun.rowset.WebRowSetImpl extends CachedRowSetImpl implements Serializable |
Serialized Fields |
WebRowSetXmlReader xmlReader
WebRowSetXmlReader
object that this
WebRowSet
object will call when the method
WebRowSet.readXml
is invoked.
WebRowSetXmlWriter xmlWriter
WebRowSetXmlWriter
object that this
WebRowSet
object will call when the method
WebRowSet.writeXml
is invoked.
int curPosBfrWrite
SyncProvider provider
Class com.sun.rowset.internal.WebRowSetXmlReader extends java.lang.Object implements Serializable |
Class com.sun.rowset.internal.WebRowSetXmlWriter extends java.lang.Object implements Serializable |
Serialized Fields |
java.io.Writer writer
java.io.Writer
object to which this WebRowSetXmlWriter
object will write when its writeXML
method is called. The value
for this field is set with the java.io.Writer
object given
as the second argument to the writeXML
method.
java.util.Stack stack
java.util.Stack
object that this WebRowSetXmlWriter
object will use for storing the tags to be used for writing the calling
WebRowSet
object as an XML document.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |