com.sap.aii.mapping.lookup

Interface DataBaseResult


public interface DataBaseResult

Data base result set. This interface represents the result of a data base query executed by the database accessor. The set contains the selected rows of the query and the meta data describing the columns of the result.

Since:
SAP NetWeaver '04 SPS 13
See Also:
DataBaseAccessor, DataBaseResultMetaData

Method Summary
 DataBaseResultMetaData getMetaData()
          Returns the metadata describing the columns of the database result.
 Iterator getRows()
          Returns an iterator of the result set.
 

Method Detail

getRows

Iterator getRows()
Returns an iterator of the result set. The next method returns an immutable java.util.Map representing a row of the result set. The map contains the columns for the database result set. An entry of the map has as key a column name and as value the corresponding column value. The column value is a Java object whose type will be the default Java object type corresponding to the column's SQL type, following the mapping for built-in types specified in the JDBC specification. If the value is an SQL NULL, the driver returns a Java null. The iterator does not support the remove method.

Returns:
iterator over rows.

getMetaData

DataBaseResultMetaData getMetaData()
Returns the metadata describing the columns of the database result. If the database result does not have any rows. an empty object is returned.

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.mapping.lib.facade api BC-XI


Copyright 2014 SAP AG Complete Copyright Notice