org.apache.cayenne.access.select
Interface SelectDescriptor<T>


public interface SelectDescriptor<T>

Describes a mapping between JDBC ResultSet and object select result. In general terms, SelectDescriptor creates a mapping between a tree (object result metadata, including support for scalar/entity results as well as inheritance) and a 2D matrix, representing metadata of the SELECT clause of a UNION select query.

Since:
3.0

Method Summary
 List<? extends SelectColumn> getColumns()
          Returns a list of result set columns.
 RowReader<T> getRowReader(ResultSet resultSet)
          Returns a RowReader for the result set..
 

Method Detail

getRowReader

RowReader<T> getRowReader(ResultSet resultSet)
                          throws CayenneException
Returns a RowReader for the result set..

Throws:
CayenneException

getColumns

List<? extends SelectColumn> getColumns()
Returns a list of result set columns.



Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.