Java 类org.hibernate.loader.custom.ScalarReturn 实例源码

项目:hibernate-ogm-ignite    文件:IgniteDialect.java   
@Override
TupleSnapshot createTupleSnapshot(List<?> value) {
    Map<String, Object> map = new HashMap<>();
    for ( int i = 0; i < value.size(); i++ ) {
        ScalarReturn ret = (ScalarReturn) queryReturns.get( i );
        map.put( ret.getColumnAlias(), value.get( i ) );
    }
    return new MapTupleSnapshot( map );
}