Class RowTransformerStandardImpl<T>
- java.lang.Object
-
- org.hibernate.sql.results.internal.RowTransformerStandardImpl<T>
-
- All Implemented Interfaces:
RowTransformer<T>
@Incubating public class RowTransformerStandardImpl<T> extends Object implements RowTransformer<T>
Returns the first object in each row, if there is exactly one item in the selection list, or the whole row otherwise.
-
-
Field Summary
Fields Modifier and Type Field Description static RowTransformerStandardImpl
INSTANCE
Singleton access
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> RowTransformer<T>
instance()
T
transformRow(Object[] row)
Transform the "raw" row values into the ultimate query result (for a row)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.spi.RowTransformer
determineNumberOfResultElements
-
-
-
-
Field Detail
-
INSTANCE
public static final RowTransformerStandardImpl INSTANCE
Singleton access
-
-
Method Detail
-
instance
public static <T> RowTransformer<T> instance()
-
transformRow
public T 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<T>
-
-