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)
ResultPacker
pack
in class ResultPacker
public Object pack(Object[] values)
ResultPacker
pack
in class ResultPacker
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.