if (idx == 0) { // first batch holder can use the original htContainer
htContainer = htContainerOrig;
} else { // otherwise create a new one using the original's fields
htContainer = new VectorContainer();
for (VectorWrapper<?> w : htContainerOrig) {
ValueVector vv = TypeHelper.getNewVector(w.getField(), allocator);
vv.allocateNew();
htContainer.add(vv);
}
}
links = allocMetadataVector(HashTable.BATCH_SIZE, EMPTY_SLOT);