Package org.hibernate.transform
Class ToListResultTransformer
- java.lang.Object
-
- org.hibernate.transform.ToListResultTransformer
-
- All Implemented Interfaces:
Serializable
,ResultListTransformer<List<Object>>
,TupleTransformer<List<Object>>
,TypedTupleTransformer<List<Object>>
,ResultTransformer<List<Object>>
@Deprecated public class ToListResultTransformer extends Object implements ResultTransformer<List<Object>>, TypedTupleTransformer<List<Object>>
Deprecated.sinceResultTransformer
is deprecatedTransforms each result row from a tuple into aList
whose elements are each tuple value- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ToListResultTransformer
INSTANCE
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class<List<Object>>
getTransformedType()
Deprecated.The type resulting from this transformationList<Object>
transformTuple(Object[] tuple, String[] aliases)
Deprecated.Tuples are the elements making up each "row" of the query result.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.transform.ResultTransformer
transformList
-
-
-
-
Field Detail
-
INSTANCE
public static final ToListResultTransformer INSTANCE
Deprecated.
-
-
Method Detail
-
getTransformedType
public Class<List<Object>> getTransformedType()
Deprecated.Description copied from interface:TypedTupleTransformer
The type resulting from this transformation- Specified by:
getTransformedType
in interfaceTypedTupleTransformer<List<Object>>
-
transformTuple
public List<Object> transformTuple(Object[] tuple, String[] aliases)
Deprecated.Description copied from interface:TupleTransformer
Tuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row shape.- Specified by:
transformTuple
in interfaceTupleTransformer<List<Object>>
- Parameters:
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)- Returns:
- The transformed row.
-
-