TupleTransformer for handling List results from native queries.
| Modifier and Type | Field and Description |
|---|---|
| private Constructor | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Constructor | |
| public T | transformTuple(Object[]
The result elements tuple, String[] The result aliases ("parallel" array to tuple) aliases)Implements org. |
| constructor | back to summary |
|---|---|
| private Constructor<T> constructor | |
| resultClass | back to summary |
|---|---|
| private final Class<T> resultClass | |
| NativeQueryConstructorTransformer | back to summary |
|---|---|
| public NativeQueryConstructorTransformer(Class<T> resultClass) | |
| constructor | back to summary |
|---|---|
| private Constructor | |
| transformTuple | back to summary |
|---|---|
| public T transformTuple(Object[] tuple, String[] aliases) Implements org. Doc from org. Tuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row shape. | |