com.esri.arcgis.geodatabase
Interface IFeatureClassLoad

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FeatureClass, IFeatureClassLoadProxy, RasterCatalog

public interface IFeatureClassLoad
extends java.io.Serializable

Provides access to the load mode of a GDB feature class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

IFeatureClassLoad is an optional interface supported by feature classes in ArcSDE and feature classes and tables in File Geodatabase. It improves performance of data loading.

With ArcSDE, putting a feature class in load-only mode disables updating of the spatial index while data is loading. In a File Geodatabase, putting a feature class or table in load-only mode disables updating of spatial and attribute indexes while data is loading. Taking the feature class or table out of load-only mode rebuilds the indexes.

While a feature class or table is in load-only mode, other applications cannot work with the data. A feature class or table should be placed in load-only mode only after acquiring an exclusive schema lock on the feature class via the ISchemaLock interface.

The dataset extent reported by the IGeoDataset::Extent property is recalculated when a feature class is removed from LoadOnlyMode to reflect the data present in the feature class.

See Also:
ISchemaLock

Method Summary
 boolean isLoadOnlyMode()
          Indicates if the featureclass is in load only mode.
 void setLoadOnlyMode(boolean isInLoadMode)
          Indicates if the featureclass is in load only mode.
 

Method Detail

isLoadOnlyMode

public boolean isLoadOnlyMode()
                       throws java.io.IOException,
                              AutomationException
Indicates if the featureclass is in load only mode.

Supported Platforms

Windows, Solaris, Linux

Returns:
The isInLoadMode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLoadOnlyMode

public void setLoadOnlyMode(boolean isInLoadMode)
                     throws java.io.IOException,
                            AutomationException
Indicates if the featureclass is in load only mode.

Supported Platforms

Windows, Solaris, Linux

Parameters:
isInLoadMode - The isInLoadMode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.