Package org.hibernate.transform
Class AliasToEntityMapResultTransformer
- java.lang.Object
-
- org.hibernate.transform.AliasToEntityMapResultTransformer
-
- All Implemented Interfaces:
Serializable
,ResultListTransformer<Map<String,Object>>
,TupleTransformer<Map<String,Object>>
,TypedTupleTransformer<Map<String,Object>>
,ResultTransformer<Map<String,Object>>
@Deprecated public class AliasToEntityMapResultTransformer extends Object implements ResultTransformer<Map<String,Object>>, TypedTupleTransformer<Map<String,Object>>
Deprecated.sinceResultTransformer
is deprecatedResultTransformer
implementation which builds a map for each "row", made up of each aliased value where the alias is the map key.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AliasToEntityMapResultTransformer
INSTANCE
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class
getTransformedType()
Deprecated.The type resulting from this transformationMap<String,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 AliasToEntityMapResultTransformer INSTANCE
Deprecated.
-
-
Method Detail
-
getTransformedType
public Class getTransformedType()
Deprecated.Description copied from interface:TypedTupleTransformer
The type resulting from this transformation- Specified by:
getTransformedType
in interfaceTypedTupleTransformer<Map<String,Object>>
-
transformTuple
public Map<String,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<Map<String,Object>>
- Parameters:
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)- Returns:
- The transformed row.
-
-