|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.TableSort
public class TableSort
Esri Table Sort object.
The TableSort class allows control over the order in which rows are returned from a table or feature class. To use TableSort, an instance of the class is first created, then properties are set to specify the data and the sort options and finally a method is executed to perform the sort. Once this is done, you can open a cursor or retrieve a sorted list of row IDs.
| Constructor Summary | |
|---|---|
TableSort()
Constructs a TableSort using ArcGIS Engine. |
|
TableSort(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TableSort theTableSort = (TableSort) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getIDByIndex(int index)
A id by its index value. |
IEnumIDs |
getIDs()
List of sorted IDs. |
IQueryFilter |
getQueryFilter()
The query filter on table or selection set. |
ICursor |
getRows()
Cursor of sorted rows. |
ISelectionSet |
getSelectionSet()
The selection set as a source of the data to sort on. |
ITable |
getTable()
The table as a source of the data to sort on. |
int |
hashCode()
the hashcode for this object |
void |
setAscending(String field,
boolean rhs2)
Field sort order. |
void |
setCaseSensitive(String field,
boolean rhs2)
Character fields case sensitive. |
void |
setCompareByRef(ITableSortCallBack rhs1)
Compare call back interface. |
void |
setCursorByRef(ICursor rhs1)
The cursor of the data to sort on. |
void |
setFields(String rhs1)
Comma list of field names to sort on. |
void |
setQueryFilterByRef(IQueryFilter queryFilter)
The query filter on table or selection set. |
void |
setSelectionSetByRef(ISelectionSet selectionSet)
The selection set as a source of the data to sort on. |
void |
setSortCharacters(String field,
int rhs2)
Number of characters to sort on, for string fields. |
void |
setTableByRef(ITable table)
The table as a source of the data to sort on. |
void |
sort(ITrackCancel trackCancel)
Sort rows. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public TableSort()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public TableSort(Object obj)
throws IOException
TableSort theTableSort = (TableSort) obj;
obj to TableSort.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setTableByRef(ITable table)
throws IOException,
AutomationException
setTableByRef in interface ITableSorttable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSelectionSetByRef(ISelectionSet selectionSet)
throws IOException,
AutomationException
setSelectionSetByRef in interface ITableSortselectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCursorByRef(ICursor rhs1)
throws IOException,
AutomationException
setCursorByRef in interface ITableSortrhs1 - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setQueryFilterByRef(IQueryFilter queryFilter)
throws IOException,
AutomationException
setQueryFilterByRef in interface ITableSortqueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IQueryFilter getQueryFilter()
throws IOException,
AutomationException
getQueryFilter in interface ITableSortIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFields(String rhs1)
throws IOException,
AutomationException
setFields in interface ITableSortrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAscending(String field,
boolean rhs2)
throws IOException,
AutomationException
setAscending in interface ITableSortfield - The field (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSortCharacters(String field,
int rhs2)
throws IOException,
AutomationException
setSortCharacters in interface ITableSortfield - The field (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCaseSensitive(String field,
boolean rhs2)
throws IOException,
AutomationException
setCaseSensitive in interface ITableSortfield - The field (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCompareByRef(ITableSortCallBack rhs1)
throws IOException,
AutomationException
setCompareByRef in interface ITableSortrhs1 - A reference to a com.esri.arcgis.geodatabase.ITableSortCallBack (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumIDs getIDs()
throws IOException,
AutomationException
getIDs in interface ITableSortIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor getRows()
throws IOException,
AutomationException
getRows in interface ITableSortIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sort(ITrackCancel trackCancel)
throws IOException,
AutomationException
sort in interface ITableSorttrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getIDByIndex(int index)
throws IOException,
AutomationException
getIDByIndex in interface ITableSortindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getTable()
throws IOException,
AutomationException
getTable in interface ITableSortIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet getSelectionSet()
throws IOException,
AutomationException
getSelectionSet in interface ITableSortIOException - 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 | ||||||||