protected void doWork(VectorAccessible batch) {
   int recordCount = batch.getRecordCount();
   AllocationHelper.allocate(partitionKeyVector, recordCount, 50);
   projector.projectRecords(recordCount, 0);
   for (VectorWrapper<?> v : container) {
     ValueVector.Mutator m = v.getValueVector().getMutator();
     m.setValueCount(recordCount);
   }
 }
 private void setValueCount(int count) {
   for (ValueVector v : allocationVectors) {
     ValueVector.Mutator m = v.getMutator();
     m.setValueCount(count);
   }
 }