.putByte(memoryBlock.getBaseObject(), memoryBlock.getBaseOffset() + runningLength,
row.getByte(index));
runningLength += row.getSizeInBytes(index);
} else if (dataType == DataTypes.BOOLEAN) {
getUnsafe()
.putBoolean(memoryBlock.getBaseObject(), memoryBlock.getBaseOffset() + runningLength,
row.getBoolean(index));
runningLength += row.getSizeInBytes(index);
} else if (dataType == DataTypes.SHORT) {
getUnsafe()
.putShort(memoryBlock.getBaseObject(), memoryBlock.getBaseOffset() + runningLength,
row.getShort(index));
runningLength += row.getSizeInBytes(index);
} else if (dataType == DataTypes.INT) {
getUnsafe()
.putInt(memoryBlock.getBaseObject(), memoryBlock.getBaseOffset() + runningLength,
row.getInt(index));
runningLength += row.getSizeInBytes(index);
} else if (dataType == DataTypes.LONG) {
getUnsafe()
.putLong(memoryBlock.getBaseObject(), memoryBlock.getBaseOffset() + runningLength,
row.getLong(index));
runningLength += row.getSizeInBytes(index);
} else if (dataType == DataTypes.FLOAT) {
getUnsafe()
.putFloat(memoryBlock.getBaseObject(), memoryBlock.getBaseOffset() + runningLength,
row.getFloat(index));
runningLength += row.getSizeInBytes(index);
} else if (dataType == DataTypes.DOUBLE) {