public class ResultPacker extends Object
Modifier | Constructor and Description |
---|---|
protected |
ResultPacker()
Protected constructor to bypass this implementation but allow extension.
|
|
ResultPacker(Class<?>[] types,
String[] aliases,
Class<?> resultClass)
Constructor for standard projection.
|
|
ResultPacker(Class<?> candidate,
String alias,
Class<?> resultClass)
Constructor for result class without a projection.
|
Modifier and Type | Method and Description |
---|---|
Object |
pack(Object result)
Pack the given object into an instance of the query's result class.
|
Object |
pack(Object[] result)
Pack the given array into an instance of the query's result class.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.