类 DistinctResultTransformer
- java.lang.Object
-
- org.hibernate.transform.BasicTransformerAdapter
-
- org.hibernate.transform.DistinctResultTransformer
-
- 所有已实现的接口:
Serializable,ResultTransformer
public class DistinctResultTransformer extends BasicTransformerAdapter
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.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static DistinctResultTransformerINSTANCE
-
-
-
字段详细资料
-
INSTANCE
public static final DistinctResultTransformer INSTANCE
-
-
方法详细资料
-
transformList
public List transformList(List list)
Uniquely distinct each tuple row here.- 指定者:
transformList在接口中ResultTransformer- 覆盖:
transformList在类中BasicTransformerAdapter- 参数:
list- The result.- 返回:
- The transformed result.
-
-