Top Description Methods
org.apache.derby.iapi.sql

public Interface Row

Known Direct Subinterfaces
org.apache.derby.iapi.sql.execute.ExecRow
Imports
org.apache.derby.iapi.types.DataValueDescriptor, org.apache.derby.shared.common.error.StandardException

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, org.apache.derby.iapi.sql.execute.ExecRow

Method Summary

Modifier and TypeMethod and Description
public DataValueDescriptor

Returns:

The DataValueDescriptor, null if no such column exists
getColumn
(int
The ordinal position of the column.
position
)

Get a DataValueDescriptor in a Row by ordinal position (1-based).

public int
public void
setColumn(int
The ordinal position of the column.
position
,
DataValueDescriptor
The column value to set
value
)

Set a DataValueDescriptor in a Row by ordinal position (1-based).

Method Detail

getColumnback to summary
public DataValueDescriptor getColumn(int position) throws StandardException

Get a DataValueDescriptor in a Row by ordinal position (1-based).

Parameters
position:int

The ordinal position of the column.

Returns:DataValueDescriptor

The DataValueDescriptor, null if no such column exists

Exceptions
StandardException:
Thrown on failure.
nColumnsback to summary
public int nColumns()
setColumnback to summary
public void setColumn(int position, DataValueDescriptor value)

Set a DataValueDescriptor in a Row by ordinal position (1-based).

Parameters
position:int

The ordinal position of the column.

value:DataValueDescriptor

The column value to set