use of org.apache.drill.exec.physical.rowSet.model.MetadataProvider.VectorDescrip in project drill by axbaretto.
the class BaseWriterBuilder method buildMap.
private List<AbstractObjectWriter> buildMap(AbstractMapVector vector, VectorDescrip descrip) {
List<AbstractObjectWriter> writers = new ArrayList<>();
MetadataProvider provider = descrip.parent.childProvider(descrip.metadata);
int i = 0;
for (ValueVector child : vector) {
VectorDescrip childDescrip = new VectorDescrip(provider, i, child.getField());
writers.add(buildVectorWriter(child, childDescrip));
i++;
}
return writers;
}
Aggregations