@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 ); }