public class MergeCommand extends SQLCommand
MERGE target_key WITH source_key[,...] [LINKSONLY] [RULES rule[,...]]Usage
/* Move the objects linked to source over to target */ MERGE 1@1~1@1 WITH 2@1~1@1 LINKSONLYTHREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
MergeCommand(Connection connection,
Pattern pattern)
Creates a new MergeCommand
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser parser)
Executes the command.
|
java.lang.String |
getColumnName(int column)
Gets the column name
|
java.lang.String |
getColumnType(int column)
Gets the data type of the column
|
java.lang.String |
getRecordID(int row)
Gets the record id
|
java.lang.Object |
getValue(int row,
int column)
Gets the value for a cell
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic MergeCommand(Connection connection, Pattern pattern)
connection - the command connectionpattern - the command patternprotected void execute(Parser parser) throws java.lang.Exception
public java.lang.Object getValue(int row,
int column)
throws java.lang.Exception
row - the cell rowcolumn - the cell columnjava.lang.Exception - a serious problempublic java.lang.String getColumnType(int column)
throws java.lang.Exception
column - the column to typejava.lang.Exception - failure to type columnpublic java.lang.String getColumnName(int column)
column - the column to namepublic java.lang.String getRecordID(int row)
row - the record to idstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.