public class Accessor implements ValueVector.Accessor{
@Override
public Object getObject(int index) {
Map<String, Object> vv = new JsonStringHashMap();
for (Map.Entry<String, ValueVector> e : vectors.entrySet()) {
ValueVector v = e.getValue();
String k = e.getKey();
Object value = v.getAccessor().getObject(index);
if (value != null) {
vv.put(k, value);
}
}
return vv;
}