public abstract class BasicTransformerAdapter extends Object implements ResultTransformer
ResultTransformer
contract.Constructor and Description |
---|
BasicTransformerAdapter() |
Modifier and Type | Method and Description |
---|---|
List |
transformList(List list)
Here we have an opportunity to perform transformation on the
query result as a whole.
|
Object |
transformTuple(Object[] tuple,
String[] aliases)
Tuples are the elements making up each "row" of the query result.
|
public Object transformTuple(Object[] tuple, String[] aliases)
ResultTransformer
transformTuple
in interface ResultTransformer
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)public List transformList(List list)
ResultTransformer
transformList
in interface ResultTransformer
list
- The result.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.