|
|||||||||
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
public abstract class SeStreamOp
Parent class for ArcSDE Insert, Update, Query and Delete streams.
Method Summary | |
---|---|
void |
cancel(boolean reset)
Cancels the current operation on the stream. |
void |
close()
Closes this stream object and releases it back to the stream pool. |
SeColumnDefinition |
describeColumn(int columnNum)
Describes a given column by returning the SeColumnDefinition. |
void |
equivalenceRows(java.lang.String table,
SeObjectId[] rowIdList,
boolean reciprocal)
Declares a set of rows in the source state to be equivalent to the version of those rows in the difference state. |
void |
execute()
Tells the server to execute a stream operation. |
void |
flushBufferedWrites()
Flushes any outstanding insert/update buffers. |
boolean |
inProgress()
Determines if the stream operation is in use. |
void |
setDynamicParameters(SeParameterInfo parameters)
Used to set the parameters for dynamically bound where clause constraints in Query and Delete streams. |
void |
setLogfile(SeLog log,
boolean logfileOnly)
Sets a logfile for auto-logging. |
void |
setRowLocking(int lockActions)
Sets the row locking environment for a stream. |
void |
setState(SeObjectId sourceId,
SeObjectId differencesId,
int differencesType)
Sets state constraints for input and output stream operations. |
void |
unequivalenceRows(java.lang.String table,
SeObjectId[] rowIdList,
boolean reciprocal)
Declares a set of rows in a source state to be no longer equivalent to the version of those rows in the difference state. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SeColumnDefinition describeColumn(int columnNum) throws SeException
columnNum
- column position 0-n
SeException
public boolean inProgress() throws SeException
SeException
public void execute() throws SeException
SeException
public void flushBufferedWrites() throws SeException
SeException
public void cancel(boolean reset) throws SeException
SeException
public void close() throws SeException
SeException
public void setState(SeObjectId sourceId, SeObjectId differencesId, int differencesType) throws SeException
differencesType:
SeState.SE_STATE_DIFF_NOCHECK Returns all features in the source state. It doesn't check the differences between source state and differences state.
SeState.SE_STATE_DIFF_NOCHANGE_UPDATE Returns all features that haven't changed in the source state, but have been updated in the differences state.
SeState.SE_STATE_DIFF_NOCHANGE_DELETE Returns all features that haven't changed in the source state, but have been deleted in the differences state.
SeState.SE_STATE_DIFF_UPDATE_NOCHANGE Returns all features that have been updated in the source state, but unchanged in the differences state.
SeState.SE_STATE_DIFF_UPDATE_UPDATE Returns all features that have been updated in both the source and difference states.
SeState.SE_STATE_DIFF_UPDATE_DELETE Returns all features that have been updated in the source state but deleted in the difference states.
SeState.SE_STATE_DIFF_INSERT Returns all features that were inserted into the source state and that never existed in the differences state.
sourceId
- The id of the state to direct input into and take output from.differencesId
- The id of the second state to take differing output from.differencesType
- The type of difference detection requested.
SeException
public void setLogfile(SeLog log, boolean logfileOnly) throws SeException
log
- the logfile on the server to log results to.logfileOnly
- set to true to send results to logfile only.
SeException
public void setRowLocking(int lockActions) throws SeException
SeException
public void equivalenceRows(java.lang.String table, SeObjectId[] rowIdList, boolean reciprocal) throws SeException
table
- The table name.rowIdList
- The unique ids of the rows to be declared equivalent.reciprocal
- If true, then not only are the rows specified in the
source state declared equivalent to the difference state, but the
specified rows in the difference state are also declared equivalent to
the source state.
SeException
public void setDynamicParameters(SeParameterInfo parameters) throws SeException
SeException
public void unequivalenceRows(java.lang.String table, SeObjectId[] rowIdList, boolean reciprocal) throws SeException
table
- The table name.rowIdList
- The unique ids of the rows to be declared equivalent.reciprocal
- If true, then not only are the rows specified in the
source state declared unequivalent to the difference state, but the
specified rows in the difference state are also declared unequivalent to
the source state.
SeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |