com.esri.arcgis.carto
Interface IQueryResult

All Superinterfaces:
Serializable
All Known Implementing Classes:
IQueryResultProxy, QueryResult

public interface IQueryResult
extends Serializable

Provides access to query results.

Remarks

URL returns a string to the file on server that contains the result while MimeData returns the result in binary format.

Product Availability

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


Method Summary
 byte[] getMimeData()
          Binary data representing requested query result.
 Object getObject()
          The Object representing the query result.
 String getURL()
          The URL of the generated query result.
 

Method Detail

getMimeData

byte[] getMimeData()
                   throws IOException,
                          AutomationException
Binary data representing requested query result.

Product Availability

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

Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getURL

String getURL()
              throws IOException,
                     AutomationException
The URL of the generated query result.

Product Availability

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

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

getObject

Object getObject()
                 throws IOException,
                        AutomationException
The Object representing the query result.

Product Availability

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

Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.