com.esri.arcgis.geodatabasedistributed
Interface IDeltaDataChangesInit2

All Superinterfaces:
IDeltaDataChangesInit, Serializable
All Known Implementing Classes:
DeltaDataChanges

public interface IDeltaDataChangesInit2
extends IDeltaDataChangesInit, Serializable

Provides access to members that initialize a DeltaDataChanges object with the ability to access its file content randomly.

Remarks

This interface is used to initialize a DeltaDataChanges coclass with random access.

Random access is needed when you want to use the IDataChanges::Extract method to see edits from specific tables or feature class in an XML delta file. If you do not initialize with random access, you need to step through the feature classes and tables in order using IDataChanges::GetModifiedClassesInfo. If you do not initialize with random access, an error is returned if you try to access edits from a feature class without processing the previous edits from other feature classes and tables referenced in the file.

This is only needed for delta XML files. Delta databases and delta file geodatabases support random access regardless of how the coclass is initialized.

When importing a delta file, initializing DeltaDataChanges with random access uses more memory, but performs faster than not using random access.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
DataChangesImporter, DataChangesExporter, DeltaDataChanges, DataChanges, IExportDataChanges

Method Summary
 void init2(String changesFileName, int exportOption, boolean randomAccess)
          Initializes the class by setting delta database file name, export option, and the ability to access the file content randomly.
 
Methods inherited from interface com.esri.arcgis.geodatabasedistributed.IDeltaDataChangesInit
init
 

Method Detail

init2

void init2(String changesFileName,
           int exportOption,
           boolean randomAccess)
           throws IOException,
                  AutomationException
Initializes the class by setting delta database file name, export option, and the ability to access the file content randomly.

Remarks

The init method initializes the DeltaDataChanges coclass. The RandomAccess parameter allows you to initialize the coclass with random access.

If the RandomAccess parameter is set to False, this interface performs the same function as IDeltaDataChangesInit::Init.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
changesFileName - The changesFileName (in)
exportOption - A com.esri.arcgis.geodatabasedistributed.esriExportDataChangesOption constant (in)
randomAccess - The randomAccess (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.