use of org.apache.drill.exec.vector.complex.writer.FieldWriter in project drill by apache.
the class PromotableWriter method setPosition.
@Override
public void setPosition(int index) {
super.setPosition(index);
FieldWriter w = getWriter();
if (w == null) {
position = index;
} else {
w.setPosition(index);
}
}
use of org.apache.drill.exec.vector.complex.writer.FieldWriter in project drill by apache.
the class ListVector method copyFrom.
public void copyFrom(int inIndex, int outIndex, ListVector from) {
FieldReader in = from.getReader();
in.setPosition(inIndex);
FieldWriter out = getWriter();
out.setPosition(outIndex);
ComplexCopier.copy(in, out);
}
Aggregations