|
||||||||||
| 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.DistinctResultTransformer
public class DistinctResultTransformer
Distinctions the result tuples in the final result based on the defined equality of the tuples.
Since this transformer is stateless, all instances would be considered equal. So for optimization purposes we limit it to a single, singletoninstance.
| Field Summary | |
|---|---|
static DistinctResultTransformer |
INSTANCE
|
| Method Summary | |
|---|---|
java.util.List |
transformList(java.util.List list)
Uniquely distinct each tuple row here. |
| Methods inherited from class org.hibernate.transform.BasicTransformerAdapter |
|---|
transformTuple |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DistinctResultTransformer INSTANCE
| Method Detail |
|---|
public java.util.List transformList(java.util.List list)
transformList in interface ResultTransformertransformList in class BasicTransformerAdapterlist - The result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||