SQLProjectionReader
classin packageklyn.data.sql.internal
public final class SQLProjectionReader<T, TId>:
SQLProjectionReader

Typed materializer for one SQL row and one canonical projection.

Example
value = reader.read(rows, projection)
Constructors
Modifier and Type Member Description
public SQLProjectionReader
SQLProjectionReader( mapping as SQLMapping<T, TId>, tracker as SQLIdentityTracker ):
Creates a reader whose entity projections participate in an identity map.
public SQLProjectionReader
SQLProjectionReader(mapping as SQLMapping<T, TId>):
Creates a reader bound to one validated entity mapping.
Methods
Modifier and Type Member Description
public read
read(rows as ResultSet, projection as QirExpression) as Object:
Materializes one complete projected result from the current SQL row.