Class RowTransformerCheckingImpl<R>
java.lang.Object
org.hibernate.sql.results.internal.RowTransformerCheckingImpl<R>
- All Implemented Interfaces:
RowTransformer<R>
Verifies that the first object in each row is
assignable to the query result type.
Should only be used when the query has exactly one item in its selection list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
determineNumberOfResultElements
(int rawElementCount) How many result elements will this transformation produce?transformRow
(Object[] row) Transform the "raw" row values into the ultimate query result (for a row)
-
Constructor Details
-
RowTransformerCheckingImpl
-
-
Method Details
-
transformRow
Description copied from interface:RowTransformer
Transform the "raw" row values into the ultimate query result (for a row)- Specified by:
transformRow
in interfaceRowTransformer<R>
-
determineNumberOfResultElements
public int determineNumberOfResultElements(int rawElementCount) Description copied from interface:RowTransformer
How many result elements will this transformation produce?- Specified by:
determineNumberOfResultElements
in interfaceRowTransformer<R>
-