com.esri.arcgis.geodatabase
Interface IRowBuffer

All Superinterfaces:
Serializable
All Known Subinterfaces:
IFeature, IFeatureBuffer, IObject, IRow, ISchematicDiagram, ISchematicDrawing, ISchematicElement, ISchematicLink, ISchematicNode, ISchematicNodeOnLink, ISchematicSubLink, ITemporalFeature
All Known Implementing Classes:
AnnotationFeature, AttributedRelationship, ComplexEdgeFeature, ComplexJunctionFeature, CoverageAnnotationFeature, DimensionFeature, esri_Object, Feature, GeocodedFeature, GeocodingIndexObject, IFeatureBufferProxy, IFeatureProxy, IObjectProxy, IRowBufferProxy, IRowProxy, ISchematicDiagramProxy, ISchematicDrawingProxy, ISchematicElementProxy, ISchematicLinkProxy, ISchematicNodeOnLinkProxy, ISchematicNodeProxy, ISchematicSubLinkProxy, ITemporalFeatureProxy, NALocationFeature, NALocationObject, NATraversalResultElement, RasterCatalogItem, RelQueryRow, Row, RowBuffer, SchematicDiagram, SchematicDrawing, SchematicLink, SchematicNode, SchematicNodeOnLink, SchematicSubLink, SimpleEdgeFeature, SimpleJunctionFeature, TemporalFeature, TopologyErrorFeature

public interface IRowBuffer
extends Serializable

Provides access to members used for getting and modifying a rows values and for getting the fields in the row.

Description

A RowBuffer is a transient object that is capable of holding the state of a row but has no object identity. It is used primarily during data loading as the argument to the InsertRow method on an insert cursor. A RowBuffer is obtained from the Table::CreateRowBuffer method.

Remarks

The IRowBuffer interface contains methods to access the state (the set of field values) for a row buffer. These methods take as argument the numeric index of the field to be accessed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IFields getFields()
          The fields Collection for this row buffer.
 Object getValue(int index)
          The value of the field with the specified index.
 void setValue(int index, Object value)
          The value of the field with the specified index.
 

Method Detail

getValue

Object getValue(int index)
                throws IOException,
                       AutomationException
The value of the field with the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

void setValue(int index,
              Object value)
              throws IOException,
                     AutomationException
The value of the field with the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
value - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

IFields getFields()
                  throws IOException,
                         AutomationException
The fields Collection for this row buffer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.