|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapServerFindResults
Provides access to the Map Server Find Results Interface.
In order to control the amount of information MapServer needs to process for a query, a maximum number of records can be set. This value is contained in the MaxRecordCount property. The default value for this property is 500. If 600 features match a given query only the first 500 results will be returned. You will be unable to access the remaining 100 records. To be able to access these records the MaxRecordCount would need to be increased to 600. MaxRecordCount affects the following IMapServer methods: Find, Identify, QueryFeatureData, and QueryHyperlinks. It does not affect QueryFeatureCount, QueryFeatureIDs or the number of Rows of a MapServerRelationship. The MaxRecordCount can also be changed by modifying the MaxRecordCount XML tag in the MapServer's configuration file.
Method Summary | |
---|---|
void |
add(IMapServerFindResult findResult)
Adds a find result. |
int |
getCount()
The find result count. |
IMapServerFindResult |
getElement(int index)
The find result at the specified position. |
void |
insert(int index,
IMapServerFindResult findResult)
Adds a find result at the specified position. |
void |
remove(int index)
Removes the find result at the specified position. |
void |
removeAll()
Removes all find results. |
Method Detail |
---|
int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMapServerFindResult getElement(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void add(IMapServerFindResult findResult) throws IOException, AutomationException
findResult
- A reference to a com.esri.arcgis.carto.IMapServerFindResult (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insert(int index, IMapServerFindResult findResult) throws IOException, AutomationException
index
- The index (in)findResult
- A reference to a com.esri.arcgis.carto.IMapServerFindResult (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 |