public interface ResultTransformer
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.List |
transformList(java.util.List collection)
Here we have an opportunity to perform transformation on the
query result as a whole.
|
java.lang.Object |
transformTuple(java.lang.Object[] tuple,
java.lang.String[] aliases)
Tuples are the elements making up each "row" of the query result.
|
java.lang.Object transformTuple(java.lang.Object[] tuple, java.lang.String[] aliases)
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)java.util.List transformList(java.util.List collection)
collection
- The result.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.