Package org.hibernate.jpa.spi
Class NativeQueryTupleTransformer
- java.lang.Object
-
- org.hibernate.transform.BasicTransformerAdapter
-
- org.hibernate.jpa.spi.NativeQueryTupleTransformer
-
- All Implemented Interfaces:
java.io.Serializable,ResultTransformer
public class NativeQueryTupleTransformer extends BasicTransformerAdapter
ResultTransformer adapter for handling Tuple results from Native queries- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NativeQueryTupleTransformer()
-
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.
-
-