com.esri.arcgis.geodatabase
Interface IIndexes

All Superinterfaces:
Serializable
All Known Subinterfaces:
IIndexesEdit
All Known Implementing Classes:
Indexes

public interface IIndexes
extends Serializable

Provides access to members that return information about the index collection.

Remarks

The IIndexes interface provides access to individual indexes. It is obtained from a table or feature class by using IClass::Indexes. Indexes are stored with a zero based index.

Product Availability

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


Method Summary
 void findIndex(String name, int[] pos)
          Finds the position of the named index in the indexes collection.
 IEnumIndex findIndexesByFieldName(String fieldName)
          The set of indexes for a given field name (if any).
 IIndex getIndex(int pos)
          The index at the specified position in the indexes collection.
 int getIndexCount()
          The number of indexes in the indexes collection.
 

Method Detail

getIndexCount

int getIndexCount()
                  throws IOException,
                         AutomationException
The number of indexes in the indexes collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getIndex

IIndex getIndex(int pos)
                throws IOException,
                       AutomationException
The index at the specified position in the indexes collection.

Product Availability

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

Parameters:
pos - The pos (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IIndex
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findIndex

void findIndex(String name,
               int[] pos)
               throws IOException,
                      AutomationException
Finds the position of the named index in the indexes collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
pos - The pos (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findIndexesByFieldName

IEnumIndex findIndexesByFieldName(String fieldName)
                                  throws IOException,
                                         AutomationException
The set of indexes for a given field name (if any).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
fieldName - The fieldName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumIndex
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.