@Override public FieldReader reader(String name) { FieldReader reader = fields.get(name); if (reader == null) { ValueVector child = vector.getChild(name); if (child == null) { reader = NullReader.INSTANCE; } else { reader = child.getAccessor().getReader(); } fields.put(name, reader); reader.setPosition(idx()); } return reader; }
@Override public java.util.Iterator<String> iterator() { return vector.fieldNameIterator(); }
@Override public MajorType getType() { return vector.getField().getType(); }
@Override public Object readObject() { return vector.getAccessor().getObject(idx()); }