Class RowTransformerSingularReturnImpl<R>
- java.lang.Object
-
- org.hibernate.sql.results.internal.RowTransformerSingularReturnImpl<R>
-
- All Implemented Interfaces:
RowTransformer<R>
public class RowTransformerSingularReturnImpl<R> extends Object implements RowTransformer<R>
-
-
Field Summary
Fields Modifier and Type Field Description static RowTransformerSingularReturnImpl
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description RowTransformerSingularReturnImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
determineNumberOfResultElements(int rawElementCount)
How many result elements will this transformation produce?static <R> RowTransformerSingularReturnImpl<R>
instance()
R
transformRow(Object[] row)
Transform the "raw" row values into the ultimate query result (for a row)
-
-
-
Field Detail
-
INSTANCE
public static final RowTransformerSingularReturnImpl INSTANCE
Singleton access
-
-
Method Detail
-
instance
public static <R> RowTransformerSingularReturnImpl<R> instance()
-
transformRow
public R transformRow(Object[] row)
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>
-
-