|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.transform.BasicTransformerAdapter
org.hibernate.transform.AliasToEntityMapResultTransformer
public class AliasToEntityMapResultTransformer
ResultTransformer
implementation which builds a map for each "row",
made up of each aliased value where the alias is the map key.
instance
.
Field Summary | |
---|---|
static AliasToEntityMapResultTransformer |
INSTANCE
|
Constructor Summary | |
---|---|
AliasToEntityMapResultTransformer()
Deprecated. Use the INSTANCE reference instead of explicitly creating a new one. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
All AliasToEntityMapResultTransformer are considered equal |
int |
hashCode()
All AliasToEntityMapResultTransformer are considered equal |
java.lang.Object |
transformTuple(java.lang.Object[] tuple,
java.lang.String[] aliases)
Tuples are the elements making up each "row" of the query result. |
Methods inherited from class org.hibernate.transform.BasicTransformerAdapter |
---|
transformList |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AliasToEntityMapResultTransformer INSTANCE
Constructor Detail |
---|
public AliasToEntityMapResultTransformer()
INSTANCE
reference instead of explicitly creating a new one.
Method Detail |
---|
public java.lang.Object transformTuple(java.lang.Object[] tuple, java.lang.String[] aliases)
ResultTransformer
transformTuple
in interface ResultTransformer
transformTuple
in class BasicTransformerAdapter
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- The other instance to check for equality
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |