|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIndexEdit
Provides access to members that modify the index.
The IIndexEdit interface is used when creating new indexes. You cannot use IIndexEdit to modify an existing index—to do this, delete and re-create it. IIndexEdit operates in a similar way to IFieldEdit.
When changing indexes on a table in a multi-user environment, you should first gain an exclusive schema lock on the table. See the section on ISchemaLock for more details.
IField
Method Summary | |
---|---|
void |
setFieldsByRef(IFields rhs1)
The fields collection for this index. |
void |
setIsAscending(boolean rhs1)
Indicates if the index is to be ascending. |
void |
setIsUnique(boolean rhs1)
Indicates if the index is to be unique. |
void |
setName(String rhs1)
The name of the index. |
Methods inherited from interface com.esri.arcgis.geodatabase.IIndex |
---|
getFields, getName, isAscending, isUnique |
Method Detail |
---|
void setName(String rhs1) throws IOException, AutomationException
ArcGIS imposes a limit on the length of 16 characters on the length of attribute index names. This limit is based on the smallest allowable length within supported databases in order to facilitate distribution and sharing of data between different geodatabases.
Giving a shapefile index a name will apply the name to the index in memory, but the name will not be persisted to disk. On subsequent occasions when the indexes are opened, they will have system-defined names.
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsUnique(boolean rhs1) throws IOException, AutomationException
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsAscending(boolean rhs1) throws IOException, AutomationException
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFieldsByRef(IFields rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geodatabase.IFields (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |