예제 #1
0
 @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;
 }
예제 #2
0
 @Override
 public java.util.Iterator<String> iterator() {
   return vector.fieldNameIterator();
 }
예제 #3
0
 @Override
 public MajorType getType() {
   return vector.getField().getType();
 }
예제 #4
0
 @Override
 public Object readObject() {
   return vector.getAccessor().getObject(idx());
 }