public class

DistinctResultTransformer

extends BasicTransformerAdapter
implements Serializable
java.lang.Object
   ↳ org.hibernate.transform.BasicTransformerAdapter
     ↳ org.hibernate.transform.DistinctResultTransformer

Class Overview

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, singleton instance.

Summary

Fields
public static final DistinctResultTransformer INSTANCE
Public Methods
List transformList(List list)
Uniquely distinct each tuple row here.
[Expand]
Inherited Methods
From class org.hibernate.transform.BasicTransformerAdapter
From class java.lang.Object
From interface org.hibernate.transform.ResultTransformer

Fields

public static final DistinctResultTransformer INSTANCE

Public Methods

public List transformList (List list)

Uniquely distinct each tuple row here.

Parameters
list The result.
Returns
  • The transformed result.