@Override
  public void shallowCopyTo(ColumnVector otherCv) {
    MultiValuedColumnVector other = (MultiValuedColumnVector)otherCv;
    super.shallowCopyTo(other);
    other.offsets = offsets;
    other.lengths = lengths;
    other.childCount = childCount;
  }
Reset the vector for the next batch.
storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/MultiValuedColumnVector.java