|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.Sort
public class Sort
This tool reorders, in ascending or descending order, records in a feature class or table based on field values. The reordered result is copied to a new dataset. The Sort tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
Sort()
Creates the Sort tool with defaults. |
|
Sort(Object inDataset,
Object outDataset,
Object sortField)
Creates the Sort tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInDataset()
Returns the Input Dataset parameter of this tool . |
Object |
getOutDataset()
Returns the Output Dataset parameter of this tool . |
Object |
getSortField()
Returns the Field(s) parameter of this tool . |
String |
getSpatialSortMethod()
Returns the Spatial Sort Method parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
void |
setInDataset(Object inDataset)
Sets the Input Dataset parameter of this tool . |
void |
setOutDataset(Object outDataset)
Sets the Output Dataset parameter of this tool . |
void |
setSortField(Object sortField)
Sets the Field(s) parameter of this tool . |
void |
setSpatialSortMethod(String spatialSortMethod)
Sets the Spatial Sort Method parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sort()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Sort(Object inDataset, Object outDataset, Object sortField)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inDataset
- the input dataset whose records will be reordered based on the field values in the sort field(s).outDataset
- the output feature class or table.sortField
- specifies the field(s) whose values will be used to reorder the input records, and the direction the records will be sorted.Method Detail |
---|
public Object getInDataset()
public void setInDataset(Object inDataset)
inDataset
- the input dataset whose records will be reordered based on the field values in the sort field(s).public Object getOutDataset()
public void setOutDataset(Object outDataset)
outDataset
- the output feature class or table.public Object getSortField()
public void setSortField(Object sortField)
sortField
- specifies the field(s) whose values will be used to reorder the input records, and the direction the records will be sorted.public String getSpatialSortMethod()
public void setSpatialSortMethod(String spatialSortMethod)
spatialSortMethod
- specifies how features are spatially sorted. Sort method is only enabled when 'Shape' is selected as one of the sort fields.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |