程序包 org.hibernate.transform
Defines strategies for post-processing criteria query result sets into a form convenient to the application.
-
接口概要 接口 说明 ResultTransformer Implementors define a strategy for transforming query results into the actual application-visible query result list.TupleSubsetResultTransformer A ResultTransformer that operates on "well-defined" and consistent subset of a tuple's elements. -
类概要 类 说明 AliasedTupleSubsetResultTransformer An implementation of TupleSubsetResultTransformer that ignores a tuple element if its corresponding alias is null.AliasToBeanConstructorResultTransformer Wraps the tuples in a constructor call.AliasToBeanResultTransformer Result transformer that allows to transform a result to a user specified class which will be populated via setter methods or fields matching the alias names.AliasToEntityMapResultTransformer ResultTransformerimplementation which builds a map for each "row", made up of each aliased value where the alias is the map key.BasicTransformerAdapter Provides the basic "noop" impls of theResultTransformercontract.CacheableResultTransformer A ResultTransformer that is used to transform tuples to a value(s) that can be cached.DistinctResultTransformer Distinctions the result tuples in the final result based on the defined equality of the tuples.DistinctRootEntityResultTransformer Much likeRootEntityResultTransformer, but we also distinct the entity in the final result.PassThroughResultTransformer ???RootEntityResultTransformer ResultTransformerimplementation which limits the result tuple to only the "root entity".ToListResultTransformer Transforms each result row from a tuple into aListwhose elements are each tuple valueTransformers