public class ResultShapePacker extends ResultPacker
| Constructor and Description |
|---|
ResultShapePacker(Class<?>[] types,
String[] aliases,
Class resultClass,
ResultShape<?> shape) |
| Modifier and Type | Method and Description |
|---|---|
Object |
pack(Object o)
Pack the given object into an instance of the query's result class.
|
Object |
pack(Object[] values)
Pack the given array into an instance of the query's result class.
|
public ResultShapePacker(Class<?>[] types, String[] aliases, Class resultClass, ResultShape<?> shape)
public Object pack(Object o)
ResultPackerpack in class ResultPackerpublic Object pack(Object[] values)
ResultPackerpack in class ResultPackerCopyright © 2006–2022 Apache Software Foundation. All rights reserved.