|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.client.SeStreamOp com.esri.sde.sdk.client.SeUpdate
public class SeUpdate
Used to submit an update to an ArcSDE instance.
SeRow
Constructor Summary | |
---|---|
SeUpdate(SeConnection conn)
Creates a new SeUpdate object, given an SeConnection. |
Method Summary | |
---|---|
void |
cancel(boolean reset)
Cancels the current update operation. |
void |
close()
Closes this update object and releases it back to the stream pool. |
void |
copyStateRows(java.lang.String tableName,
SeObjectId[] rowIdList)
Copies rows from the differences state to the source state. |
int |
getNumColumns()
Returns the number of columns on the update. |
SeRow |
getRowToSet()
Returns a row object to set for this write operation. |
void |
restoreRows(java.lang.String table,
SeObjectId[] rowIdList)
Restores a set of rows in a miltiversion table to the values they held at the creation of the currently set version. |
void |
restoreRowsFromLineageByRowId(java.lang.String table,
SeObjectId[] rowIdList)
Restores a set of rows in a miltiversion table to the values they held at the creation of the currently set version. |
void |
setWriteMode(boolean buffered)
Deprecated. at ArcSDE version 9.1, SeUpdate streams cannot be buffered. |
SeRow |
singleRow(SeObjectId rowId,
java.lang.String table,
java.lang.String[] columns)
Initializes the update operation on the server with the given row. |
void |
toSdoDimTable(java.lang.String table)
Updated the lower and upper bounds of the SDODIM table if necessary. |
void |
toTable(java.lang.String table,
java.lang.String[] columns,
java.lang.String where)
Prepares to update rows in a DBMS table. |
Methods inherited from class com.esri.sde.sdk.client.SeStreamOp |
---|
describeColumn, equivalenceRows, execute, flushBufferedWrites, inProgress, setDynamicParameters, setLogfile, setRowLocking, setState, unequivalenceRows |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeUpdate(SeConnection conn) throws SeException
SeException
Method Detail |
---|
public void copyStateRows(java.lang.String tableName, SeObjectId[] rowIdList) throws SeException
tableName
- the table that contains the differences.rowIdList
- the list of ROWIDs to copy from differences states
to the source state.
SeException
public void toSdoDimTable(java.lang.String table) throws SeException
table
- The business table name.
SeException
public void toTable(java.lang.String table, java.lang.String[] columns, java.lang.String where) throws SeException
table
- The name of the table with the row.columns
- The names of the columns whose values will be updated.where
- The where clause specifying which rows to update.
SeException
public void restoreRows(java.lang.String table, SeObjectId[] rowIdList) throws SeException
SeException
public void restoreRowsFromLineageByRowId(java.lang.String table, SeObjectId[] rowIdList) throws SeException
SeException
public int getNumColumns() throws SeException
SeException
public SeRow getRowToSet() throws SeException
SeException
public SeRow singleRow(SeObjectId rowId, java.lang.String table, java.lang.String[] columns) throws SeException
rowId
- The id of the row to be updated.table
- The name of the table with the row.columns
- The names of the columns whose values will be updated.
SeException
public void setWriteMode(boolean buffered) throws SeException
SeException
public void cancel(boolean reset) throws SeException
cancel
in class SeStreamOp
SeException
public void close() throws SeException
close
in class SeStreamOp
SeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |