|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datainterop.FMEDatasetHelper
public class FMEDatasetHelper
FMEDatasetHelper Class
| Constructor Summary | |
|---|---|
FMEDatasetHelper()
Constructs a FMEDatasetHelper using ArcGIS Engine. |
|
FMEDatasetHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FMEDatasetHelper theFMEDatasetHelper = (FMEDatasetHelper) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
IPlugInCursorHelper |
fetchAll(int classIndex,
String whereClause,
Object fieldMap)
Gets all the records in the database. |
IPlugInCursorHelper |
fetchByEnvelope(int classIndex,
IEnvelope env,
boolean strictSearch,
String whereClause,
Object fieldMap)
Gets the records within the envelope (or the full extent if the envelope is null). |
IPlugInCursorHelper |
fetchByID(int classIndex,
int iD,
Object fieldMap)
Gets a record by object id. |
IEnvelope |
getBounds()
The extent of the dataset. |
int |
getClassCount()
The number of classes in the dataset. |
int |
getClassIndex(String name)
The index of the named class. |
String |
getClassName(int index)
The name of the indicated class. |
static String |
getClsid()
getClsid. |
int |
getDatasetType()
The type of the dataset. |
IFields |
getFields(int classIndex)
The field set of the indicated class. |
int |
getGeometryType()
The geometry type of the dataset. |
String |
getLocalDatasetName()
The name of the dataset within the workspace. |
int |
getOIDFieldIndex(int classIndex)
The index of the oid field in the field set of the indicated dataset. |
int |
getRowCount()
The number of rows in the dataset. |
int |
getShapeFieldIndex(int classIndex)
The index of the shape field in the field set of the indicated dataset. |
String |
getShapeFieldName()
The name of the dataset's shape field. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
| 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 FMEDatasetHelper()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FMEDatasetHelper(Object obj)
throws IOException
FMEDatasetHelper theFMEDatasetHelper = (FMEDatasetHelper) obj;
obj to FMEDatasetHelper.
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 String getLocalDatasetName()
throws IOException,
AutomationException
Returns the local name of this dataset. This is the name that will show up in ArcCatalog, and that will be passed to the OpenDataset method of the workspace.
getLocalDatasetName in interface IPlugInDatasetInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDatasetType()
throws IOException,
AutomationException
Returns the dataset type of this dataset. Determines what kind of icon the dataset will have in ArcCatalog.
getDatasetType in interface IPlugInDatasetInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getGeometryType()
throws IOException,
AutomationException
Returns the geometry type of this dataset. Only called if the dataset type is feature class. Determines which feature class icon the dataset will have in ArcCatalog.
getGeometryType in interface IPlugInDatasetInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getShapeFieldName()
throws IOException,
AutomationException
Returns the name of the shape field of this dataset. Only called if dataset type is feature class and geometry type is not null. Used to construct the FeatureClassName.
getShapeFieldName in interface IPlugInDatasetInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRowCount()
throws IOException,
AutomationException
Returns the number of rows in the dataset. Should be implemented to be quick (i.e. faster than just getting a cursor of everything and counting).
getRowCount in interface IPlugInFastRowCountIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassCount()
throws IOException,
AutomationException
Returns the number of classes contained in this dataset. Tables and standalone feature classes should return 1.
getClassCount in interface IPlugInDatasetHelperIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getClassName(int index)
throws IOException,
AutomationException
getClassName in interface IPlugInDatasetHelperindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassIndex(String name)
throws IOException,
AutomationException
getClassIndex in interface IPlugInDatasetHelpername - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getBounds()
throws IOException,
AutomationException
Gets an envelope which is the full extent of the data in the dataset. Implementations of the getBounds method should employ the com.esri.arcgis.geometry.Envelope class to define and return an envelope that corresponds to the full extent of the data in the dataset. The spatial reference property on the envelope must be set. All feature classes in a feature dataset share the same bounds and spatial reference.
getBounds in interface IPlugInDatasetHelperIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFields getFields(int classIndex)
throws IOException,
AutomationException
getFields in interface IPlugInDatasetHelperclassIndex - The classIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOIDFieldIndex(int classIndex)
throws IOException,
AutomationException
getOIDFieldIndex in interface IPlugInDatasetHelperclassIndex - The classIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getShapeFieldIndex(int classIndex)
throws IOException,
AutomationException
getShapeFieldIndex in interface IPlugInDatasetHelperclassIndex - The classIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPlugInCursorHelper fetchByID(int classIndex,
int iD,
Object fieldMap)
throws IOException,
AutomationException
Returns a record by object ID. The cursor will have a single record. If there is no object with the given id, this method should fail.
FieldMap indicates which fields should be returned by the query. See IPlugInCursorHelper::QueryValues and IPlugInFastQueryValues::FastQueryValues for a description of how to use the field map.
fetchByID in interface IPlugInDatasetHelperclassIndex - The classIndex (in)iD - The iD (in)fieldMap - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPlugInCursorHelper fetchAll(int classIndex,
String whereClause,
Object fieldMap)
throws IOException,
AutomationException
Returns a cursor of all the records in the dataset that match the optional where clause. An empty or null where clause means all records should be returned. The where clause will always be null if IPlugInWorkspaceFactoryHelper::CanSupportSQL returns false. The method should fail if there are no records.
The field map indicates which fields should be returned by the query. See IPlugInCursorHelper::QueryValues and IPlugInFastQueryValues::FastQueryValues for a description of how to use the field map.
fetchAll in interface IPlugInDatasetHelperclassIndex - The classIndex (in)whereClause - The whereClause (in)fieldMap - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPlugInCursorHelper fetchByEnvelope(int classIndex,
IEnvelope env,
boolean strictSearch,
String whereClause,
Object fieldMap)
throws IOException,
AutomationException
Returns a record set of all records that are in the envelope and that match the optional where clause. The where clause will always be null if IPlugInWorkspaceFactoryHelper::CanSupportSQL returns false. The method should fail if there are no records in the envelope that match the optional where clause.
Fieldmap indicates which fields should be returned by the query. See IPlugInCursorHelper::QueryValues and IPlugInFastQueryValues::FastQueryValues for a description of how to use the field map.
Many data sources use spatial indexes or other spatial organization methods. If strictSearch is false, these data sources should return a cursor containing all the records which are in indexes or blocks within the query envelope. If strictSearch is true, the cursor should contain only the records within the envelope. Data sources that don’t use indexes or blocks may ignore this parameter.
The FetchByEnvelope function returns all records in the Dataset if the Envelope parameter given is Nothing.
fetchByEnvelope in interface IPlugInDatasetHelperclassIndex - The classIndex (in)env - A reference to a com.esri.arcgis.geometry.IEnvelope (in)strictSearch - The strictSearch (in)whereClause - The whereClause (in)fieldMap - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 | ||||||||