Uses of Interface
org.hibernate.transform.ResultTransformer
-
-
Uses of ResultTransformer in org.hibernate
Methods in org.hibernate with parameters of type ResultTransformer Modifier and Type Method Description CriteriaCriteria. setResultTransformer(ResultTransformer resultTransformer)Set a strategy for handling the query results.Query<R>Query. setResultTransformer(ResultTransformer transformer)Deprecated.(since 5.2) -
Uses of ResultTransformer in org.hibernate.criterion
Fields in org.hibernate.criterion declared as ResultTransformer Modifier and Type Field Description static ResultTransformerCriteriaSpecification. ALIAS_TO_ENTITY_MAPEach row of results is a Map from alias to entity instancestatic ResultTransformerCriteriaSpecification. DISTINCT_ROOT_ENTITYEach row of results is a distinct instance of the root entitystatic ResultTransformerCriteriaSpecification. PROJECTIONThis result transformer is selected implicitly by calling setProjection()static ResultTransformerCriteriaSpecification. ROOT_ENTITYEach row of results is an instance of the root entityMethods in org.hibernate.criterion with parameters of type ResultTransformer Modifier and Type Method Description DetachedCriteriaDetachedCriteria. setResultTransformer(ResultTransformer resultTransformer)Set the result transformer to use. -
Uses of ResultTransformer in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return ResultTransformer Modifier and Type Method Description ResultTransformerQueryParameters. getResultTransformer()Constructors in org.hibernate.engine.spi with parameters of type ResultTransformer Constructor Description QueryParameters(QueryParameterBindings queryParameterBindings, LockOptions lockOptions, RowSelection selection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> dbHints, java.io.Serializable[] collectionKeys, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, ResultTransformer resultTransformer)QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.util.Map<java.lang.String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, java.io.Serializable[] collectionKeys, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, ResultTransformer transformer)QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.util.Map<java.lang.String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, java.io.Serializable[] collectionKeys, ResultTransformer transformer)QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, boolean isLookupByNaturalKey, ResultTransformer transformer) -
Uses of ResultTransformer in org.hibernate.jpa.spi
Classes in org.hibernate.jpa.spi that implement ResultTransformer Modifier and Type Class Description classCriteriaQueryTupleTransformerResultTransformer adapter for handling Tuple results from Criteria queriesclassNativeQueryTupleTransformerResultTransformer adapter for handling Tuple results from Native queriesclassTupleBuilderTransformerResultTransformer adapter for handling Tuple results from HQL/JPQL queries -
Uses of ResultTransformer in org.hibernate.loader
Methods in org.hibernate.loader that return ResultTransformer Modifier and Type Method Description protected ResultTransformerLoader. resolveResultTransformer(ResultTransformer resultTransformer)Determine the actual ResultTransformer that will be used to transform query results.Methods in org.hibernate.loader with parameters of type ResultTransformer Modifier and Type Method Description java.util.ListLoader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, ResultTransformer forcedResultTransformer)protected java.lang.ObjectLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)Get the actual object that is returned in the user-visible result list.protected java.util.ListLoader. getResultList(java.util.List results, ResultTransformer resultTransformer)protected java.util.List<java.lang.Object>Loader. getRowsFromResultSet(java.sql.ResultSet rs, QueryParameters queryParameters, SharedSessionContractImplementor session, boolean returnProxies, ResultTransformer forcedResultTransformer, int maxRows, java.util.List<java.lang.Object> hydratedObjects, java.util.List<EntityKey[]> subselectResultKeys)protected java.util.ListLoader. processResultSet(java.sql.ResultSet rs, QueryParameters queryParameters, SharedSessionContractImplementor session, boolean returnProxies, ResultTransformer forcedResultTransformer, int maxRows, java.util.List<AfterLoadAction> afterLoadActions)protected ResultTransformerLoader. resolveResultTransformer(ResultTransformer resultTransformer)Determine the actual ResultTransformer that will be used to transform query results. -
Uses of ResultTransformer in org.hibernate.loader.criteria
Methods in org.hibernate.loader.criteria that return ResultTransformer Modifier and Type Method Description protected ResultTransformerCriteriaLoader. resolveResultTransformer(ResultTransformer resultTransformer)Methods in org.hibernate.loader.criteria with parameters of type ResultTransformer Modifier and Type Method Description protected java.lang.ObjectCriteriaLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)protected java.util.ListCriteriaLoader. getResultList(java.util.List results, ResultTransformer resultTransformer)protected ResultTransformerCriteriaLoader. resolveResultTransformer(ResultTransformer resultTransformer) -
Uses of ResultTransformer in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom that return ResultTransformer Modifier and Type Method Description protected ResultTransformerCustomLoader. resolveResultTransformer(ResultTransformer resultTransformer)Methods in org.hibernate.loader.custom with parameters of type ResultTransformer Modifier and Type Method Description protected java.lang.ObjectCustomLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)protected java.util.ListCustomLoader. getResultList(java.util.List results, ResultTransformer resultTransformer)protected ResultTransformerCustomLoader. resolveResultTransformer(ResultTransformer resultTransformer) -
Uses of ResultTransformer in org.hibernate.loader.entity
Methods in org.hibernate.loader.entity with parameters of type ResultTransformer Modifier and Type Method Description protected java.lang.ObjectAbstractEntityLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)protected java.lang.ObjectCollectionElementLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session) -
Uses of ResultTransformer in org.hibernate.loader.hql
Methods in org.hibernate.loader.hql that return ResultTransformer Modifier and Type Method Description protected ResultTransformerQueryLoader. resolveResultTransformer(ResultTransformer resultTransformer)Methods in org.hibernate.loader.hql with parameters of type ResultTransformer Modifier and Type Method Description protected org.hibernate.hql.internal.HolderInstantiatorQueryLoader. buildHolderInstantiator(ResultTransformer queryLocalResultTransformer)protected java.lang.ObjectQueryLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)protected java.util.ListQueryLoader. getResultList(java.util.List results, ResultTransformer resultTransformer)protected ResultTransformerQueryLoader. resolveResultTransformer(ResultTransformer resultTransformer) -
Uses of ResultTransformer in org.hibernate.loader.plan.exec.process.spi
Methods in org.hibernate.loader.plan.exec.process.spi with parameters of type ResultTransformer Modifier and Type Method Description java.util.ListResultSetProcessor. extractResults(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean returnProxies, boolean readOnly, ResultTransformer forcedResultTransformer, java.util.List<AfterLoadAction> afterLoadActions)Process an entire ResultSet, performing all extractions. -
Uses of ResultTransformer in org.hibernate.query
Methods in org.hibernate.query with parameters of type ResultTransformer Modifier and Type Method Description Query<R>Query. setResultTransformer(ResultTransformer transformer)Deprecated.(since 5.2) -
Uses of ResultTransformer in org.hibernate.transform
Subinterfaces of ResultTransformer in org.hibernate.transform Modifier and Type Interface Description interfaceTupleSubsetResultTransformerA ResultTransformer that operates on "well-defined" and consistent subset of a tuple's elements.Classes in org.hibernate.transform that implement ResultTransformer Modifier and Type Class Description classAliasedTupleSubsetResultTransformerAn implementation of TupleSubsetResultTransformer that ignores a tuple element if its corresponding alias is null.classAliasToBeanConstructorResultTransformerWraps the tuples in a constructor call.classAliasToBeanResultTransformerResult 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.classAliasToEntityMapResultTransformerResultTransformerimplementation which builds a map for each "row", made up of each aliased value where the alias is the map key.classBasicTransformerAdapterProvides the basic "noop" impls of theResultTransformercontract.classCacheableResultTransformerA ResultTransformer that is used to transform tuples to a value(s) that can be cached.classDistinctResultTransformerDistinctions the result tuples in the final result based on the defined equality of the tuples.classDistinctRootEntityResultTransformerMuch likeRootEntityResultTransformer, but we also distinct the entity in the final result.classPassThroughResultTransformer???classRootEntityResultTransformerResultTransformerimplementation which limits the result tuple to only the "root entity".classToListResultTransformerTransforms each result row from a tuple into aListwhose elements are each tuple valueMethods in org.hibernate.transform that return ResultTransformer Modifier and Type Method Description static ResultTransformerTransformers. aliasToBean(java.lang.Class target)Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.Methods in org.hibernate.transform with parameters of type ResultTransformer Modifier and Type Method Description static CacheableResultTransformerCacheableResultTransformer. create(ResultTransformer transformer, java.lang.String[] aliases, boolean[] includeInTuple)Returns a CacheableResultTransformer that is used to transform tuples to a value(s) that can be cached.java.util.ListCacheableResultTransformer. retransformResults(java.util.List transformedResults, java.lang.String[] aliases, ResultTransformer transformer, boolean[] includeInTuple)Re-transforms, if necessary, a List of values previously transformed by this (or an equivalent) CacheableResultTransformer.
-