public class ReverseCommand extends SQLCommand
REVERSE [ERASE] [[trans_id] | [GROUP trans_group_id]] [, layer_id]Usage
/* remove all nigels from the system */ DELETE FROM person WHERE name like 'nigel%'; /* commit the changes to the database */ commit 'testing the reverse commmand'; /* find the records for the people ever call 'nigel' */ TRANSACTION FIELD person:name like 'nigel'; /* find the transaction that deleted the people called 'nigel' */ TRANSACTION RECORD person, 1237455; /* reverse the delete transction */ REVERSE 123;THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
ReverseCommand(Connection connection,
Pattern pattern)
std.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser p)
execute the command.
|
java.lang.String |
getColumnName(int col)
the column name
|
java.lang.String |
getColumnType(int col)
Gets the column type for the given column index, starting at one
|
java.lang.String |
getRecordID(int row)
the record ID
|
java.lang.Object |
getValue(int row,
int col)
the value for this row, column
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic ReverseCommand(Connection connection, Pattern pattern)
connection - the connectionpattern - the patternprotected void execute(Parser p) throws java.lang.Exception
public java.lang.String getColumnName(int col)
col - the columnpublic java.lang.String getColumnType(int col)
col - the column indexpublic java.lang.String getRecordID(int row)
row - the row indexpublic java.lang.Object getValue(int row,
int col)
row - the row indexcol - the columnstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.