public class ResultColumnValueExtractor extends Object
Constructor and Description |
---|
ResultColumnValueExtractor(Map<String,Object> map,
MappingPolicy mappingPolicy,
ResultConverter converter) |
Modifier and Type | Method and Description |
---|---|
Object |
extractFromAccessibleObject(ResultColumn column,
TypeInformation<?> returnType) |
Object |
extractFromField(Field field) |
Object |
extractFromMethod(Method method) |
Object |
transformScalaIterableToJavaIterable(Object scalaIterable,
Class iterableLikeIface) |
public ResultColumnValueExtractor(Map<String,Object> map, MappingPolicy mappingPolicy, ResultConverter converter)
public Object extractFromField(Field field) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException
public Object extractFromMethod(Method method) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException
public Object extractFromAccessibleObject(ResultColumn column, TypeInformation<?> returnType) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException
public Object transformScalaIterableToJavaIterable(Object scalaIterable, Class iterableLikeIface) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException
Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.