|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataExtraction
Provides access to members that extract schema and/or data from one geodatabase to another geodatabase.
The IDataExtraction interface provides methods to extract data and schema or just schema from one geodatabase to another.
Unlike CheckOut, DataExtraction can move data from a personal or file geodatabases to an ArcSDE geodatabase, between personal and file geodatabases.
IReplicaFilterDescriptionEdit
,
IReplicaDescription
,
IReplicaFilterDescription
Method Summary | |
---|---|
void |
extract(IReplicaDescription rDDescription,
boolean transferRelObjects)
Extracts schema and data from one geodatabase to another geodatabase. |
void |
extractSchema(IReplicaDescription rSDescription,
ISpatialReference outputSpatialReference)
Extracts schema only from one geodatabase to another geodatabase. |
Method Detail |
---|
void extract(IReplicaDescription rDDescription, boolean transferRelObjects) throws IOException, AutomationException
The extract method extracts schema and data from one geodatabase to another geodatabase. The rDDescription parameter references a ReplicaDescription object which is used to specify the data to check out and the filters applied to this data.
If you set transferRelatedObjects to TRUE, related features/rows from other feature classes/tables will also be checked out. Otherwise, they are not checked out. Note that the schema of the related objects is always included regardless of whether transferRelatedObjects is TRUE or FALSE.
Unlike CheckOut or replication, DataExtraction can copy data from a personal geodatabase or file geodatabase to an ArcSDE geodatabase or between personal and file geodatabases.
rDDescription
- A reference to a com.esri.arcgis.geodatabase.IReplicaDescription (in)transferRelObjects
- The transferRelObjects (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void extractSchema(IReplicaDescription rSDescription, ISpatialReference outputSpatialReference) throws IOException, AutomationException
The ExtractSchema method extracts just the schema of the data involved. It also takes a ReplicaDescription object, but in this case it is used to simply define that schema to extract.
The OutputSpatialReference parameter allows you to set the spatial reference of the extracted schema. All spatial data will be assigned this spatial reference. If this parameter is set to nothing, then the spatial reference of the input datasets is used.
When performing an extraction with re-use schema set to TRUE in the ReplicaDescription, setting the spatial reference will result in an error.
Unlike CheckOut, DataExtraction can copy data from a personal or file geodatabase to an ArcSDE geodatabase or between personal and file geodatabases.
rSDescription
- A reference to a com.esri.arcgis.geodatabase.IReplicaDescription (in)outputSpatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |