|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabasedistributed.DataExtraction
public class DataExtraction
Extracts data from one geodatabase to another geodatabase.
The DataExtraction coclass extracts data from one geodatabase to another geodatabase. It allows you to apply filters such that only a portion of the geodatabase is copied. The geodatabases involved can be either personal geodatabases or ArcSDE geodatabases.
A data extraction is very similar to a check out only in the data extraction case, you can’t edit and check the changes back in.
Constructor Summary | |
---|---|
DataExtraction()
Constructs a DataExtraction using ArcGIS Engine. |
|
DataExtraction(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DataExtraction theDataExtraction = (DataExtraction) obj; |
Method Summary | |
---|---|
void |
addIFeatureProgressListener(IFeatureProgress theListener)
addIFeatureProgressListener. |
void |
addIReplicaProgressListener(IReplicaProgress theListener)
addIReplicaProgressListener. |
boolean |
equals(Object o)
Compare this object with another |
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. |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
removeIFeatureProgressListener(IFeatureProgress theListener)
removeIFeatureProgressListener. |
void |
removeIReplicaProgressListener(IReplicaProgress theListener)
removeIReplicaProgressListener. |
void |
setNamespaceToExportTo(String rhs1)
The namespace (version) to export to. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public DataExtraction() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic DataExtraction(Object obj) throws IOException
DataExtraction theDataExtraction = (DataExtraction) obj;
obj
to DataExtraction
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addIFeatureProgressListener(IFeatureProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException
- If there are communications problems.public void removeIFeatureProgressListener(IFeatureProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException
- If there are communications problems.public void addIReplicaProgressListener(IReplicaProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabasedistributed.IReplicaProgress interface.
IOException
- If there are communications problems.public void removeIReplicaProgressListener(IReplicaProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabasedistributed.IReplicaProgress interface.
IOException
- If there are communications problems.public 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.
extract
in interface IDataExtraction
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.public 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.
extractSchema
in interface IDataExtraction
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.public void setNamespaceToExportTo(String rhs1) throws IOException, AutomationException
setNamespaceToExportTo
in interface IXMLDocumentVersion
rhs1
- The rhs1 (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 |