Class Hierarchy Previous Next Index
java.lang.Object | +----COM.cloudscape.vti.VTITemplate | +----COM.cloudscape.synchronization.StatementListVTI
COLUMN NAME | DATATYPE | DESCRIPTION |
---|---|---|
STATEMENT_NUMBER | int | statement number |
TYPE | varchar(15) | One of the following: "COPY PREAMBLE", "DDL", "INSERT", "DELETE", "UPDATE", "WORK UNIT" |
SUMMARY | String | brief description of statement |
SUCCESS | char(1) | 'T' if the statement succeeded during replay, 'F' if it failed |
CHANGED_COLUMNS | BitSet | BitSet of column IDs changed by this statement (null unless this is an UPDATE) |
ROW_LIST | ColumnResultSet | A RowListVTI. null for "COPY PUBLICATION PREAMBLE" and "DDL". For a "WORK UNIT", the rowList has one row, the parameter tuple. See RowListVTI for a description of the layout of the row set for "INSERT", "DELETE", "UPDATE". |
SELECT * FROM new COM.cloudscape.synchronization.StatementListVTI( 'copy', 'p.cpy' ) SLHere's the SQL stuffed inside a ColumnResultSet used for creating a StatementListVTI on the statement list inside a transaction in a TransactionListVTI or the statement list inside a DML rowset. The arguments are ( scanID, transactionNumber, nestingLevel, summaryColumnLength ).
SELECT * FROM new COM.cloudscape.synchronization.StatementListVTI ( '8000001c-00d0-fd77-3ed8-000a0a0b1900', 3, 0, 20 ) SL
public StatementListVTI(java.lang.String fileType, java.lang.String fileName, int summaryColumnLength) throws java.sql.SQLException
fileType
- kind of file: "copy"
fileName
- file of replicated statements
summaryColumnLength
- display length of SUMMARY column
public StatementListVTI(java.lang.String scanID, int transactionNumber, int nestingLevel, int summaryColumnLength) throws java.sql.SQLException
scanID
- identifies the stream of replicated transactions
transactionNumber
- identifies the transaction in that stream
nestingLevel
- identifies statement depth inside this transaction
summaryColumnLength
- display length of SUMMARY column
public boolean wasNull()
public boolean next() throws java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData()
public int getInt(int columnIndex) throws java.sql.SQLException
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
public void close() throws java.sql.SQLException
protected static void eatRestOfStatement(COM.cloudscape.protocol.BasicServices.StoredFormat.FormatIdInputStream inputStream, COM.cloudscape.internalUtil.TokenReader streamTokenizer) throws java.sql.SQLException
protected static void skipRowData(COM.cloudscape.internalUtil.TokenReader streamTokenizer) throws java.sql.SQLException
Class Hierarchy Previous Next Index