|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlugInWorkspaceHelper
Provides access to members that help the Plug-In workspace.
This interface must be implemented by the plug-in workspace helper class of a plug-in data source.
Method Summary | |
---|---|
IArray |
getDatasetNames(int datasetType)
An array of dataset helpers for each dataset in the workspace. |
INativeType |
getNativeType(int datasetType,
String localName)
The native type object for datasetType. |
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. |
Method Detail |
---|
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INativeType getNativeType(int datasetType, String localName) throws IOException, AutomationException
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.IArray getDatasetNames(int datasetType) throws IOException, AutomationException
datasetType
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
localName
- The localName (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 |