Class AliasToEntityMapResultTransformer
java.lang.Object
org.hibernate.transform.AliasToEntityMapResultTransformer
- All Implemented Interfaces:
TupleTransformer<Map<String,Object>>, TypedTupleTransformer<Map<String, Object>>
@Deprecated
public class AliasToEntityMapResultTransformer
extends Object
implements TypedTupleTransformer<Map<String,Object>>
Deprecated.
Defines a Tuple mapping
and there are many well-defined ways to use that approach.
TypedTupleTransformer implementation which builds a map for each "row",
made up of each aliased value where the alias is the map key.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AliasToEntityMapResultTransformerDeprecated.Singleton instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The type resulting from this transformationtransformTuple(Object[] tuple, String[] aliases) Deprecated.Tuples are the elements making up each "row" of the query result.
-
Field Details
-
INSTANCE
-
-
Method Details
-
getTransformedType
Deprecated.Description copied from interface:TypedTupleTransformerThe type resulting from this transformation- Specified by:
getTransformedTypein interfaceTypedTupleTransformer<Map<String,Object>>
-
transformTuple
Deprecated.Description copied from interface:TupleTransformerTuples 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:
transformTuplein interfaceTupleTransformer<Map<String,Object>> - Parameters:
tuple- The result elementsaliases- The result aliases ("parallel" array to tuple)- Returns:
- The transformed row.
-