/** * Returns a {@link org.apache.arrow.vector.ValueVector} instance of subtype of T corresponding to the given * field name if exists or null. * * @param name the name of the child to return * @param clazz the expected type of the child * @return the child corresponding to this name */ @Override public <T extends FieldVector> T getChild(String name, Class<T> clazz) { final ValueVector v = vectors.get(name); if (v == null) { return null; } return typeify(v, clazz); }