@Override public void copyValueSafe(int fromIndex, int toIndex) { to.copyFromSafe(fromIndex, toIndex, Decimal28SparseVector.this); } }
@Override public void copyEntry(int toIndex, ValueVector from, int fromIndex) { copyFromSafe(fromIndex, toIndex, (Decimal28SparseVector) from); }
public void copyFromSafe(int fromIndex, int thisIndex, NullableDecimal28SparseVector from){ bits.copyFromSafe(fromIndex, thisIndex, from.bits); values.copyFromSafe(fromIndex, thisIndex, from.values); }
@Override public void copyEntry(int toIndex, ValueVector from, int fromIndex) { // Handle the case of not-nullable copied into a nullable if (from instanceof Decimal28SparseVector) { bits.getMutator().setSafe(toIndex,1); values.copyFromSafe(fromIndex,toIndex,(Decimal28SparseVector)from); return; } NullableDecimal28SparseVector fromVector = (NullableDecimal28SparseVector) from; bits.copyFromSafe(fromIndex, toIndex, fromVector.bits); values.copyFromSafe(fromIndex, toIndex, fromVector.values); }
public void copyAsValue(Decimal28SparseWriter writer) { Decimal28SparseWriterImpl impl = (Decimal28SparseWriterImpl) writer; impl.vector.copyFromSafe(idx(), impl.idx(), vector); }
public void copyFromSafe(int fromIndex, int thisIndex, Decimal28SparseVector from){ values.copyFromSafe(fromIndex, thisIndex, from); bits.getMutator().setSafe(thisIndex, 1); }
public void copyAsField(String name, MapWriter writer) { Decimal28SparseWriterImpl impl = (Decimal28SparseWriterImpl) writer.decimal28Sparse(name); impl.vector.copyFromSafe(idx(), impl.idx(), vector); }
@Override public void copyValueSafe(int fromIndex, int toIndex) { to.copyFromSafe(fromIndex, toIndex, Decimal28SparseVector.this); } }
@Override public void copyEntry(int toIndex, ValueVector from, int fromIndex) { copyFromSafe(fromIndex, toIndex, (Decimal28SparseVector) from); }
public void copyFromSafe(int fromIndex, int thisIndex, NullableDecimal28SparseVector from){ bits.copyFromSafe(fromIndex, thisIndex, from.bits); values.copyFromSafe(fromIndex, thisIndex, from.values); }
@Override public void copyEntry(int toIndex, ValueVector from, int fromIndex) { // Handle the case of not-nullable copied into a nullable if (from instanceof Decimal28SparseVector) { bits.getMutator().setSafe(toIndex,1); values.copyFromSafe(fromIndex,toIndex,(Decimal28SparseVector)from); return; } NullableDecimal28SparseVector fromVector = (NullableDecimal28SparseVector) from; bits.copyFromSafe(fromIndex, toIndex, fromVector.bits); values.copyFromSafe(fromIndex, toIndex, fromVector.values); }
public void copyFromSafe(int fromIndex, int thisIndex, Decimal28SparseVector from){ values.copyFromSafe(fromIndex, thisIndex, from); bits.getMutator().setSafe(thisIndex, 1); }
public void copyAsValue(Decimal28SparseWriter writer) { Decimal28SparseWriterImpl impl = (Decimal28SparseWriterImpl) writer; impl.vector.copyFromSafe(idx(), impl.idx(), vector); }
public void copyAsField(String name, MapWriter writer) { Decimal28SparseWriterImpl impl = (Decimal28SparseWriterImpl) writer.decimal28Sparse(name); impl.vector.copyFromSafe(idx(), impl.idx(), vector); }