Package org.hibernate.jpa.spi
Class CriteriaQueryTupleTransformer
- java.lang.Object
-
- org.hibernate.transform.BasicTransformerAdapter
-
- org.hibernate.jpa.spi.CriteriaQueryTupleTransformer
-
- All Implemented Interfaces:
java.io.Serializable,ResultTransformer
public class CriteriaQueryTupleTransformer extends BasicTransformerAdapter
ResultTransformer adapter for handling Tuple results from Criteria queries- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CriteriaQueryTupleTransformer(java.util.List<org.hibernate.query.criteria.internal.ValueHandlerFactory.ValueHandler> valueHandlers, java.util.List tupleElements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjecttransformTuple(java.lang.Object[] tuple, java.lang.String[] aliases)Tuples are the elements making up each "row" of the query result.-
Methods inherited from class org.hibernate.transform.BasicTransformerAdapter
transformList
-
-
-
-
Method Detail
-
transformTuple
public java.lang.Object transformTuple(java.lang.Object[] tuple, java.lang.String[] aliases)Description copied from interface:ResultTransformerTuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row.- Specified by:
transformTuplein interfaceResultTransformer- Overrides:
transformTuplein classBasicTransformerAdapter- Parameters:
tuple- The result elementsaliases- The result aliases ("parallel" array to tuple)- Returns:
- The transformed row.
-
-