public class RecordSet extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRecordSet, IRecordSet2, IRecordSetInit, IXMLSerialize, IPersist, IPersistStream, IClone, java.io.Externalizable
Description 'Esri Record Set 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 =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IID2d6cb9cc_c6a0_437f_a431_9c9b7fdc4862, xxDummy
IID4510a65b_acd1_4046_b8b0_10f9d0da673f
IID, IID40d32697_0b40_4023_8d73_20e004b5377b, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
Constructor and Description |
---|
RecordSet()
Constructs a RecordSet using ArcGIS Engine.
|
RecordSet(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RecordSet theRecordSet = (RecordSet) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
IRowBuffer |
createRowBuffer()
Creates a row buffer that can be used with an insert cursor.
|
void |
createTable(IFields fields)
Creates an empty table or feature class for a Recordset.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
void |
detachTable()
Detach Recordset from table and apply the subfield of QueryFilter.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
ICursor |
getCursor(boolean recycling)
A cursor over the rows or features in the recordset.
|
IFields |
getFields()
The fields of the recordset.
|
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.
|
int |
getMaxRecordCount()
The maximum number of records for the recordset.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
ITable |
getTable()
The source table or feature class for the recordset.
|
int |
hashCode()
the hashcode for this object
|
ICursor |
insert()
Returns a cursor that can be used to insert new rows.
|
void |
isDirty()
isDirty
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isFeatureCollection()
Indicates if the recordset is a feature collection.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
ITable |
saveAsTable(IWorkspace workspace,
java.lang.String tableName)
Saves the recordset to a table of feature class in the provided workspace.
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setMaxRecordCount(int maxRecordCount)
The maximum number of records for the recordset.
|
void |
setSourceQueryDef(IQueryDef queryDef)
Sets the source QueryDef for a Recordset.
|
void |
setSourceTable(ITable table,
IQueryFilter queryFilter)
Sets the source table or feature class for a Recordset.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public RecordSet() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RecordSet(java.lang.Object obj) throws java.io.IOException
RecordSet theRecordSet = (RecordSet) obj;
obj
to RecordSet
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
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 IFields getFields() throws java.io.IOException, AutomationException
getFields
in interface IRecordSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ICursor getCursor(boolean recycling) throws java.io.IOException, AutomationException
getCursor
in interface IRecordSet
recycling
- The recycling (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isFeatureCollection() throws java.io.IOException, AutomationException
isFeatureCollection
in interface IRecordSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITable getTable() throws java.io.IOException, AutomationException
getTable
in interface IRecordSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITable saveAsTable(IWorkspace workspace, java.lang.String tableName) throws java.io.IOException, AutomationException
saveAsTable
in interface IRecordSet2
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)tableName
- The tableName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void detachTable() throws java.io.IOException, AutomationException
detachTable
in interface IRecordSet2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getMaxRecordCount() throws java.io.IOException, AutomationException
getMaxRecordCount
in interface IRecordSetInit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMaxRecordCount(int maxRecordCount) throws java.io.IOException, AutomationException
setMaxRecordCount
in interface IRecordSetInit
maxRecordCount
- The maxRecordCount (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSourceTable(ITable table, IQueryFilter queryFilter) throws java.io.IOException, AutomationException
setSourceTable
in interface IRecordSetInit
table
- A reference to a com.esri.arcgis.geodatabase.ITable (in)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 void setSourceQueryDef(IQueryDef queryDef) throws java.io.IOException, AutomationException
setSourceQueryDef
in interface IRecordSetInit
queryDef
- A reference to a com.esri.arcgis.geodatabase.IQueryDef (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void createTable(IFields fields) throws java.io.IOException, AutomationException
createTable
in interface IRecordSetInit
fields
- A reference to a com.esri.arcgis.geodatabase.IFields (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 IRecordSetInit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ICursor insert() throws java.io.IOException, AutomationException
insert
in interface IRecordSetInit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException