com.esri.arcgis.geodatabase
Class IFeatureClassLoadProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IFeatureClassLoadProxy
All Implemented Interfaces:
IFeatureClassLoad, Externalizable, Serializable

public class IFeatureClassLoadProxy
extends com.esri.arcgis.interop.Dispatch
implements IFeatureClassLoad, Serializable

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

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.

Load-only mode should only be used for bulk inserts of rows and features with an insert cursor. It should not be used for editing existing rows and features.

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.

In ArcSDE, only the owner of a table or feature class can put it into load-only mode.

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.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IFeatureClassLoadProxy()
           
  IFeatureClassLoadProxy(Object obj)
           
protected IFeatureClassLoadProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean isLoadOnlyMode()
          Indicates if the featureclass is in load only mode.
 void removeListener(String iidStr, Object theListener)
           
 void setLoadOnlyMode(boolean isInLoadMode)
          Indicates if the featureclass is in load only mode.
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IFeatureClassLoadProxy

public IFeatureClassLoadProxy()

IFeatureClassLoadProxy

public IFeatureClassLoadProxy(Object obj)
                       throws IOException
Throws:
IOException

IFeatureClassLoadProxy

protected IFeatureClassLoadProxy(Object obj,
                                 String iid)
                          throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

isLoadOnlyMode

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isLoadOnlyMode in interface IFeatureClassLoad
Returns:
The isInLoadMode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLoadOnlyMode

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setLoadOnlyMode in interface IFeatureClassLoad
Parameters:
isInLoadMode - The isInLoadMode (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.