| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.RecordSet
public class RecordSet
Esri Record Set object.
| Constructor Summary | |
|---|---|
| RecordSet()Constructs a RecordSet using ArcGIS Engine. | |
| RecordSet(Object obj)Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  RecordSet theRecordSet = (RecordSet) obj; | |
| Method Summary | |
|---|---|
|  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(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 String | getClsid()getClsid. | 
|  ICursor | getCursor(boolean recycling)A cursor over the rows or features in the recordset. | 
|  IFields | getFields()The fields of the recordset. | 
|  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(ObjectInput in) | 
|  void | save(IStream pstm,
     int fClearDirty)save | 
|  ITable | saveAsTable(IWorkspace workspace,
            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(ObjectOutput out) | 
| 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 RecordSet()
          throws IOException,
                 UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RecordSet(Object obj)
          throws IOException
 RecordSet theRecordSet = (RecordSet) obj;
obj to RecordSet.
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 IFields getFields()
                  throws IOException,
                         AutomationException
When using a recordset class, the Fields property is used to return the fields in the RecordSet.
getFields in interface IRecordSetIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor getCursor(boolean recycling)
                  throws IOException,
                         AutomationException
getCursor in interface IRecordSetrecycling - The recycling  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFeatureCollection()
                            throws IOException,
                                   AutomationException
When using a recordset class, the IsFeatureCollection property is used to return true and is read only if the RecordSet is a feature collection.
isFeatureCollection in interface IRecordSetIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getTable()
                throws IOException,
                       AutomationException
When using a recordset class, the Table property is used to return the source table or feature class for a RecordSet.
getTable in interface IRecordSetIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable saveAsTable(IWorkspace workspace,
                          String tableName)
                   throws IOException,
                          AutomationException
SaveAsTable will save the recordset into the specified table or feature class in the provided workspace. SaveAsTable supports Personal, File and ArcSDE geodatabases as well as shapefile workspaces.
saveAsTable in interface IRecordSet2workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace  (in)tableName - The tableName  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detachTable()
                 throws IOException,
                        AutomationException
When using a record set, the DetachTable property is used to detach a recordset from a table and apply the subfield of a query filter.
detachTable in interface IRecordSet2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IRecordSet2.saveAsTable(com.esri.arcgis.geodatabase.IWorkspace, String)
public int getMaxRecordCount()
                      throws IOException,
                             AutomationException
When using a recordset class, the MaxRecordCount property is used to return the maximum number of records for the recordset.
getMaxRecordCount in interface IRecordSetInitIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxRecordCount(int maxRecordCount)
                       throws IOException,
                              AutomationException
setMaxRecordCount in interface IRecordSetInitmaxRecordCount - The maxRecordCount  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSourceTable(ITable table,
                           IQueryFilter queryFilter)
                    throws IOException,
                           AutomationException
When using a recordset class, the SetSourceTable property is used to set the source table or feature class for a Recordset.
setSourceTable in interface IRecordSetInittable - A reference to a com.esri.arcgis.geodatabase.ITable  (in)queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSourceQueryDef(IQueryDef queryDef)
                       throws IOException,
                              AutomationException
When using a recordset class, the SetSourceQueryDef property is used to sets the source QueryDef for a Recordset.
setSourceQueryDef in interface IRecordSetInitqueryDef - A reference to a com.esri.arcgis.geodatabase.IQueryDef  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void createTable(IFields fields)
                 throws IOException,
                        AutomationException
When using a recordset class, the CreateTable property is used to create an empty table or feature class for a RecordSet.
createTable in interface IRecordSetInitfields - A reference to a com.esri.arcgis.geodatabase.IFields  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRowBuffer createRowBuffer()
                           throws IOException,
                                  AutomationException
When using a recordset class, the CreateRowBuffer property is used to create a row buffer that can be used with an insert cursor.
createRowBuffer in interface IRecordSetInitIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor insert()
               throws IOException,
                      AutomationException
When using a recordset class, the Insert property is used to return a cursor that can be used to insert new rows into a RecordSet.
insert in interface IRecordSetInitIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
               throws IOException,
                      AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
                 throws IOException,
                        AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
             throws IOException,
                    AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)fClearDirty - The fClearDirty  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
                  throws IOException,
                         AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
            throws IOException,
                   AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
                throws IOException,
                       AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
                    throws IOException,
                           AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
                   throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||