|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IDatasetMigrationProxy
public class IDatasetMigrationProxy
Provides access to members that migrate a dataset.
The IDatasetMigration interface has methods for migrating the geometry, attribute and raster binary storage types of a dataset from an SDE/Oracle data source. The migration path is based on parameters of the specified keyword.
Valid geometry migration paths are as follows:
Long Raw to Blob (SDEBINARY to SDELOB)
Long Raw to ST_Geometry (SDEBINARY to ST_GEOMETRY)
Blob to ST_Geometry (SDELOB to ST_GEOMETRY)
SDO_Geometry to ST_Geometry (SDO_GEOMETRY to ST_GEOMETRY)
Valid attribute and raster migration paths are as follows:
Long Raw to Blob
An exclusive schema lock should be acquired for the dataset prior to calling any of this interface's methods. An exclusive schema lock can be acquired by using the ISchemaLock interface.
The IFeatureClassStorage interface can be used with an SDE feature class to determine the type of geometry storage being used. If the geometry is migrated to a new storage type, the feature class must be re-opened for the IFeatureClassStorage to return the new value.
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IDatasetMigrationProxy()
|
|
IDatasetMigrationProxy(Object obj)
|
protected |
IDatasetMigrationProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
migrateAttributeStorage(String configurationKeyword)
Migrate the attribute field storage. |
void |
migrateGeometryStorage(String configurationKeyword)
Migrate the geometry field storage. |
void |
migrateRasterStorage(String configurationKeyword)
Migrate the raster storage. |
void |
migrateStorage(String configurationKeyword)
Migrate all binary field storage. |
void |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IDatasetMigrationProxy()
public IDatasetMigrationProxy(Object obj)
throws IOException
IOException
protected IDatasetMigrationProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void migrateStorage(String configurationKeyword)
throws IOException,
AutomationException
The MigrateStorage method will migrate all geometry, attribute and raster binaries to the parameters specified in the ConfigurationKeyword argument.
migrateStorage in interface IDatasetMigrationconfigurationKeyword - The configurationKeyword (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void migrateGeometryStorage(String configurationKeyword)
throws IOException,
AutomationException
The MigrateGeometryStorage method will migrate all geometry storage to the parameters specified in the ConfigurationKeyword argument.
migrateGeometryStorage in interface IDatasetMigrationconfigurationKeyword - The configurationKeyword (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void migrateAttributeStorage(String configurationKeyword)
throws IOException,
AutomationException
The MigrateAttributeStorage method will migrate all attribute binary storage to the parameters specified in the ConfigurationKeyword argument.
migrateAttributeStorage in interface IDatasetMigrationconfigurationKeyword - The configurationKeyword (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void migrateRasterStorage(String configurationKeyword)
throws IOException,
AutomationException
The MigrateRasterStorage method will migrate all raster storage to the parameters specified in the ConfigurationKeyword argument.
migrateRasterStorage in interface IDatasetMigrationconfigurationKeyword - The configurationKeyword (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||