public class ToListResultTransformer extends BasicTransformerAdapter
List
, such that what
you end up with is a List
of Lists
.Modifier and Type | Field and Description |
---|---|
static ToListResultTransformer |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Object |
transformTuple(Object[] tuple,
String[] aliases)
Tuples are the elements making up each "row" of the query result.
|
transformList
public static final ToListResultTransformer INSTANCE
public Object transformTuple(Object[] tuple, String[] aliases)
transformTuple
in interface ResultTransformer
transformTuple
in class BasicTransformerAdapter
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)Copyright © 2012 JBoss by Red Hat. All Rights Reserved.