public class NativeQueryTupleTransformer extends BasicTransformerAdapter
ResultTransformer adapter for handling Tuple results from Native queries
| Constructor and Description |
|---|
NativeQueryTupleTransformer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
transformTuple(Object[] tuple,
String[] aliases)
Tuples are the elements making up each "row" of the query result.
|
transformListpublic Object transformTuple(Object[] tuple, String[] aliases)
ResultTransformerTuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row.
transformTuple in interface ResultTransformertransformTuple in class BasicTransformerAdaptertuple - The result elementsaliases - The result aliases ("parallel" array to tuple)Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.