|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datainterop.FMEWorkspaceHelper
public class FMEWorkspaceHelper
FMEWorkspaceHelper Class
Constructor Summary | |
---|---|
FMEWorkspaceHelper()
Constructs a FMEWorkspaceHelper using ArcGIS Engine. |
|
FMEWorkspaceHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FMEWorkspaceHelper theFMEWorkspaceHelper = (FMEWorkspaceHelper) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IArray |
getDatasetNames(int datasetType)
An array of dataset helpers for each dataset in the workspace. |
String |
getMetadataPath(String localName)
The path to the metadata file for the dataset indentified by localName. |
INativeType |
getNativeType(int datasetType,
String localName)
The native type object for datasetType. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isOIDIsRecordNumber()
Indicates whether the OID is the number of the record, i.e., whether id's are continuous. |
boolean |
isRowCountIsCalculated()
Indicates if a dataset has to count each row to get the number of rows in the dataset. |
IPlugInDatasetHelper |
openDataset(String localName)
Opens a dataset helper for the dataset identified by localName. |
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 FMEWorkspaceHelper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FMEWorkspaceHelper(Object obj) throws IOException
FMEWorkspaceHelper theFMEWorkspaceHelper = (FMEWorkspaceHelper) obj;
obj
to FMEWorkspaceHelper
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean isRowCountIsCalculated() throws IOException, AutomationException
Returns true if the only way to count the number of rows in the dataset is to get a cursor and count. If the data source has a faster method for getting a count of rows in a dataset, this method should return false and the optional interface IPlugInFastRowCount should be implemented on dataset helpers returned by OpenDataset. It is always safe to return true here.
isRowCountIsCalculated
in interface IPlugInWorkspaceHelper
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOIDIsRecordNumber() throws IOException, AutomationException
It should return true if the record number of your data source is used as the Object ID, that is the Object IDs are always continuous. If true, some joins are optimized.
isOIDIsRecordNumber
in interface IPlugInWorkspaceHelper
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INativeType getNativeType(int datasetType, String localName) throws IOException, AutomationException
getNativeType
in interface IPlugInWorkspaceHelper
datasetType
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)localName
- The localName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getDatasetNames(int datasetType) throws IOException, AutomationException
getDatasetNames
in interface IPlugInWorkspaceHelper
datasetType
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPlugInDatasetHelper openDataset(String localName) throws IOException, AutomationException
Creates and initializes an instance of the dataset helper class and returns its IPlugInDatasetHelper pointer. If localName is not a local name of a dataset, the method should fail and return a null pointer.
openDataset
in interface IPlugInWorkspaceHelper
localName
- The localName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMetadataPath(String localName) throws IOException, AutomationException
getMetadataPath
in interface IPlugInMetadataPath
localName
- The localName (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 ISupportErrorInfo
riid
- 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 |