com.esri.arcgis.geodatabase
Class IVersionedWorkspace2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IVersionedWorkspaceProxy
          extended by com.esri.arcgis.geodatabase.IVersionedWorkspace2Proxy
All Implemented Interfaces:
IVersionedWorkspace, IVersionedWorkspace2, Externalizable, Serializable
Direct Known Subclasses:
IVersionedWorkspace3Proxy

public class IVersionedWorkspace2Proxy
extends IVersionedWorkspaceProxy
implements IVersionedWorkspace2, Serializable

Provides access to members that manage versions.

Superseded By

IVersionedWorkspace3

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
  IVersionedWorkspace2Proxy()
           
  IVersionedWorkspace2Proxy(Object obj)
           
protected IVersionedWorkspace2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IEnumVersionInfo getRecommendedReconcileOrder()
          An ordered list of versions that can be used to optimize reconciliation against the default version.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IVersionedWorkspaceProxy
compress, findVersion, getDefaultVersion, getVersions
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.IVersionedWorkspace
compress, findVersion, getDefaultVersion, getVersions
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IVersionedWorkspace2Proxy

public IVersionedWorkspace2Proxy()

IVersionedWorkspace2Proxy

public IVersionedWorkspace2Proxy(Object obj)
                          throws IOException
Throws:
IOException

IVersionedWorkspace2Proxy

protected IVersionedWorkspace2Proxy(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 IVersionedWorkspaceProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IVersionedWorkspaceProxy
Throws:
IOException

getRecommendedReconcileOrder

public IEnumVersionInfo getRecommendedReconcileOrder()
                                              throws IOException,
                                                     AutomationException
An ordered list of versions that can be used to optimize reconciliation against the default version.

Remarks

The RecommendedReconcileOrder method returns an enumeration of version names based upon the ascending order of each version's common ancestor state with respect to the DEFAULT version. If a version's common ancestor state is equal to or greater than the state the DEFAULT version references, it will not be included in the enumeration.

The method is intended to be used prior to running a compress. If all or some of the versions returned by the RecommendedReconcileOrder are reconciled based upon the enumeration's order, the compress operation will be able to move more rows from a table's versioned delta tables to the base tables. The more versions reconciled based upon the order of versions returned, more rows will be compressed to the base table.

Compressing a versioned database can improve query performance by reducing the number of rows in a versioned table's delta tables. It is recommended after compressing to update each feature dataset's DBMS table statistics by executing the IDatasetAnalyze::Analyze method interface or your DBMS specific command.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRecommendedReconcileOrder in interface IVersionedWorkspace2
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumVersionInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.