org.apache.derby.iapi.sql
Interface Row

All Known Subinterfaces:
ExecIndexRow, ExecRow
All Known Implementing Classes:
IndexRow, IndexValueRow, ValueRow

public interface Row

The Row interface provides methods to get information about the columns in a result row. It uses simple, position (1-based) access to get to columns. Searching for columns by name should be done from the ResultSet interface, where metadata about the rows and columns is available.

See Also:
ResultSet, ExecRow

Method Summary
 DataValueDescriptor getColumn(int position)
          Get a DataValueDescriptor in a Row by ordinal position (1-based).
 int nColumns()
           
 void setColumn(int position, DataValueDescriptor value)
          Set a DataValueDescriptor in a Row by ordinal position (1-based).
 

Method Detail

nColumns

int nColumns()

getColumn

DataValueDescriptor getColumn(int position)
                              throws StandardException
Get a DataValueDescriptor in a Row by ordinal position (1-based).

Parameters:
position - The ordinal position of the column.
Returns:
The DataValueDescriptor, null if no such column exists
Throws:
StandardException - Thrown on failure.

setColumn

void setColumn(int position,
               DataValueDescriptor value)
Set a DataValueDescriptor in a Row by ordinal position (1-based).

Parameters:
position - The ordinal position of the column.

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.