public class Table extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITable, IClass, ITableCapabilities, IDataset, IDatasetEdit, IDatasetEditInfo, IDatasetAnalyze, ISchemaLock
Description 'Esri Table object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDfcb01cb5_9f0b_11d0_bec7_00805f7c4268, xxDummy
IID1afcdb32_ac09_11d2_8a1e_006097aff44e
IID, IID8b0338b9_3b3d_11d4_9fbb_00c04f6bdf0c, xxDummy
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummy
IID, IID448c5d21_9746_11d1_89e2_006097aff44e, xxDummy
IID, IID234c31c1_9740_11d1_89e2_006097aff44e, xxDummy
IID, IID60262917_d53f_4e0b_86ff_a916c3fb26bc, xxDummy
IID, IIDdca648e5_0fbb_11d3_80a5_00c04f686238, xxDummy
Constructor and Description |
---|
Table(java.lang.Object obj)
Construct a Table using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
void |
addField(IField field)
Adds a field to this object class.
|
void |
addIndex(IIndex index)
Adds an index to this object class.
|
void |
analyze(int tableComponents)
Analyze the data to update/generate DBMS statistics.
|
boolean |
canCopy()
True if this dataset can be copied.
|
boolean |
canDelete()
True if this dataset can be deleted.
|
boolean |
canRename()
True if this dataset can be renamed.
|
void |
changeSchemaLock(int schemaLock)
Changes a schema lock.
|
IDataset |
copy(java.lang.String copyName,
IWorkspace copyWorkspace)
Copies this dataset to a new dataset with the specified name.
|
IRow |
createRow()
Creates a row in the database with a system assigned object ID and null property values.
|
IRowBuffer |
createRowBuffer()
Creates a row buffer that can be used with an insert cursor.
|
void |
delete()
Deletes this dataset.
|
void |
deleteField(IField field)
Deletes a field from this object class.
|
void |
deleteIndex(IIndex index)
Deletes an index from this object class.
|
void |
deleteSearchedRows(IQueryFilter queryFilter)
Delete the Rows in the database selected by the specified query.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
int |
findField(java.lang.String name)
The index of the field with the specified name.
|
int |
getAllowableComponents()
The allowable components to be analyzed.
|
java.lang.String |
getBrowseName()
The browse name of the dataset.
|
java.lang.String |
getCategory()
The category of the dataset.
|
IUID |
getCLSID()
The GUID for the COM Class (CoClass) corresponding to instances of this object class.
|
void |
getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
The list of current locks.
|
IUID |
getEXTCLSID()
The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.
|
java.lang.Object |
getExtension()
The extension for this object class.
|
IPropertySet |
getExtensionProperties()
The extension properties for this object class.
|
IFields |
getFields()
The fields collection for this object class.
|
IName |
getFullName()
The associated name object.
|
IIndexes |
getIndexes()
The indexes collection for this object class.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getName()
The name of the Dataset.
|
java.lang.String |
getOIDFieldName()
The name of the field corresponding to the OID.
|
IPropertySet |
getPropertySet()
The set of properties for the dataset.
|
IRow |
getRow(long oID)
The row from the database with the specified object ID.
|
ICursor |
getRows(java.lang.Object oids,
boolean recycling)
The cursor of rows based on a set of object ids.
|
IEnumDataset |
getSubsets()
Datasets contained within this dataset.
|
int |
getType()
The type of the Dataset.
|
IWorkspace |
getWorkspace()
The workspace containing this dataset.
|
int |
hashCode()
the hashcode for this object
|
ICursor |
insert(boolean useBuffering)
Returns a cursor that can be used to insert new Rows.
|
boolean |
isBeingEdited()
True if the dataset is being edited.
|
boolean |
isCanEdit()
True if the dataset supports edit sessions with the ability to discard edits on save.
|
boolean |
isCanRedo()
True if the dataset supports edit sessions with the ability to redo undone operations.
|
boolean |
isCanSelect()
Indicates if the table supports selection.
|
boolean |
isCanUndo()
True if the dataset supports edit sessions with the ability to undo individual edit operations.
|
boolean |
isHasOID()
Indicates if the class has an object identity (OID) field.
|
ICursor |
ITable_search(IQueryFilter queryFilter,
boolean recycling)
An object cursor that can be used to fetch row objects selected by the specified query.
|
void |
release()
Release this COM object reference
|
void |
rename(java.lang.String name)
Renames this Dataset.
|
long |
rowCount(IQueryFilter queryFilter)
The number of Rows selected by the specified query.
|
ISelectionSet |
select(IQueryFilter queryFilter,
int selType,
int selOption,
IWorkspace selectionContainer)
A selection that contains the object ids selected by the specified query.
|
void |
setBrowseName(java.lang.String name)
The browse name of the dataset.
|
ICursor |
update(IQueryFilter queryFilter,
boolean recycling)
Returns a cursor that can be used to update Rows selected by the specified query.
|
void |
updateSearchedRows(IQueryFilter queryFilter,
IRowBuffer buffer)
Update the Rows in the database selected by the specified query.
|
public Table(java.lang.Object obj) throws java.io.IOException
obj
to Table
. *
Table o = (Table)obj; // will not work
Table o = new Table(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
Table theTable = (Table) obj;
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IRow createRow() throws java.io.IOException, AutomationException
createRow
in interface ITable
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRow getRow(long oID) throws java.io.IOException, AutomationException
getRow
in interface ITable
oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ICursor getRows(java.lang.Object oids, boolean recycling) throws java.io.IOException, AutomationException
getRows
in interface ITable
oids
- A Variant (in)recycling
- The recycling (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRowBuffer createRowBuffer() throws java.io.IOException, AutomationException
createRowBuffer
in interface ITable
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void updateSearchedRows(IQueryFilter queryFilter, IRowBuffer buffer) throws java.io.IOException, AutomationException
updateSearchedRows
in interface ITable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)buffer
- A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteSearchedRows(IQueryFilter queryFilter) throws java.io.IOException, AutomationException
deleteSearchedRows
in interface ITable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long rowCount(IQueryFilter queryFilter) throws java.io.IOException, AutomationException
rowCount
in interface ITable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ICursor ITable_search(IQueryFilter queryFilter, boolean recycling) throws java.io.IOException, AutomationException
ITable_search
in interface ITable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling
- The recycling (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ICursor update(IQueryFilter queryFilter, boolean recycling) throws java.io.IOException, AutomationException
update
in interface ITable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling
- The recycling (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ICursor insert(boolean useBuffering) throws java.io.IOException, AutomationException
insert
in interface ITable
useBuffering
- The useBuffering (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ISelectionSet select(IQueryFilter queryFilter, int selType, int selOption, IWorkspace selectionContainer) throws java.io.IOException, AutomationException
select
in interface ITable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)selType
- A com.esri.arcgis.geodatabase.esriSelectionType constant (in)selOption
- A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)selectionContainer
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int findField(java.lang.String name) throws java.io.IOException, AutomationException
findField
in interface IClass
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFields getFields() throws java.io.IOException, AutomationException
getFields
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IIndexes getIndexes() throws java.io.IOException, AutomationException
getIndexes
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addField(IField field) throws java.io.IOException, AutomationException
addField
in interface IClass
field
- A reference to a com.esri.arcgis.geodatabase.IField (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteField(IField field) throws java.io.IOException, AutomationException
deleteField
in interface IClass
field
- A reference to a com.esri.arcgis.geodatabase.IField (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addIndex(IIndex index) throws java.io.IOException, AutomationException
addIndex
in interface IClass
index
- A reference to a com.esri.arcgis.geodatabase.IIndex (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteIndex(IIndex index) throws java.io.IOException, AutomationException
deleteIndex
in interface IClass
index
- A reference to a com.esri.arcgis.geodatabase.IIndex (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isHasOID() throws java.io.IOException, AutomationException
isHasOID
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getOIDFieldName() throws java.io.IOException, AutomationException
getOIDFieldName
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IUID getCLSID() throws java.io.IOException, AutomationException
getCLSID
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IUID getEXTCLSID() throws java.io.IOException, AutomationException
getEXTCLSID
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getExtension() throws java.io.IOException, AutomationException
getExtension
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPropertySet getExtensionProperties() throws java.io.IOException, AutomationException
getExtensionProperties
in interface IClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanSelect() throws java.io.IOException, AutomationException
isCanSelect
in interface ITableCapabilities
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IName getFullName() throws java.io.IOException, AutomationException
getFullName
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getBrowseName() throws java.io.IOException, AutomationException
getBrowseName
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setBrowseName(java.lang.String name) throws java.io.IOException, AutomationException
setBrowseName
in interface IDataset
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getType() throws java.io.IOException, AutomationException
getType
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCategory() throws java.io.IOException, AutomationException
getCategory
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumDataset getSubsets() throws java.io.IOException, AutomationException
getSubsets
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IWorkspace getWorkspace() throws java.io.IOException, AutomationException
getWorkspace
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws java.io.IOException, AutomationException
getPropertySet
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean canCopy() throws java.io.IOException, AutomationException
canCopy
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace) throws java.io.IOException, AutomationException
copy
in interface IDataset
copyName
- The copyName (in)copyWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean canDelete() throws java.io.IOException, AutomationException
canDelete
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void delete() throws java.io.IOException, AutomationException
delete
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean canRename() throws java.io.IOException, AutomationException
canRename
in interface IDataset
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void rename(java.lang.String name) throws java.io.IOException, AutomationException
rename
in interface IDataset
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isBeingEdited() throws java.io.IOException, AutomationException
isBeingEdited
in interface IDatasetEdit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanEdit() throws java.io.IOException, AutomationException
isCanEdit
in interface IDatasetEditInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanUndo() throws java.io.IOException, AutomationException
isCanUndo
in interface IDatasetEditInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanRedo() throws java.io.IOException, AutomationException
isCanRedo
in interface IDatasetEditInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void analyze(int tableComponents) throws java.io.IOException, AutomationException
analyze
in interface IDatasetAnalyze
tableComponents
- The tableComponents (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getAllowableComponents() throws java.io.IOException, AutomationException
getAllowableComponents
in interface IDatasetAnalyze
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void changeSchemaLock(int schemaLock) throws java.io.IOException, AutomationException
changeSchemaLock
in interface ISchemaLock
schemaLock
- A com.esri.arcgis.geodatabase.esriSchemaLock constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo) throws java.io.IOException, AutomationException
getCurrentSchemaLocks
in interface ISchemaLock
schemaLockInfo
- A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.