GeoEco.Datasets.ArcGIS.ArcGISCopyableTable

class GeoEco.Datasets.ArcGIS.ArcGISCopyableTable

Bases: object

Mixin that classes representing tables inherit to indicate they can be copied with the Copy() geoprocessing tool.

The purpose of this mixin is to enable an optimization when calling GeoEco.Datasets.ArcGIS.ArcGISWorkspace.ImportDatasets(): the import will be substantially faster if ImportDatasets() can just copy it with Copy(). If Copy() cannot be used, then ImportDatasets() must create an empty destination table and import the rows one by one, which is usually substantially slower.

To enable the use of Copy(), the class representing a table must inherit this mixin and then implement GetArcGISCopyablePath().

Methods

GetArcGISCopyablePath

Called by ImportDatasets() to get the path to copy.