com.esri.arcgis.geodatabase
Interface IIndex

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IIndexEdit
All Known Implementing Classes:
IIndexEditProxy, IIndexProxy, Index, XMLIndex

public interface IIndex
extends java.io.Serializable

Provides access to members that return information about the index.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

The IIndex interface is used for read-only access to the properties of an index.

See Also:
IField, IIndex, IIndexes

Method Summary
 IFields getFields()
          The fields collection for this index.
 java.lang.String getName()
          The name of the index.
 boolean isAscending()
          Indicates if the index is based on ascending order.
 boolean isUnique()
          Indicates if the index is unique.
 

Method Detail

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the index.

Supported Platforms

Windows, Solaris, Linux

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

isUnique

public boolean isUnique()
                 throws java.io.IOException,
                        AutomationException
Indicates if the index is unique.

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

isAscending

public boolean isAscending()
                    throws java.io.IOException,
                           AutomationException
Indicates if the index is based on ascending order.

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

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The fields collection for this index.

Supported Platforms

Windows, Solaris, Linux

Remarks

An Index cannot have more than 10 fields in an index.


Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.