@Override void copy(int index) throws SQLException { mutator.setSafe(index, result.getLong(columnIndex)); if (result.wasNull()) { mutator.setNull(index); } }
long value = (long) val; for (int i = start; i < end; i++) { v.getMutator().setSafe(i, value);
if (pci.kuduColumn.isNullable()) { ((NullableBigIntVector.Mutator) pci.vv.getMutator()) .setSafe(rowIndex, result.getLong(pci.index)); } else { ((BigIntVector.Mutator) pci.vv.getMutator())
bigIntVector.getMutator().setNull(index); } else { bigIntVector.getMutator().setSafe(index, value);
public void write(NullableBigIntHolder h) { mutator.setSafe(idx(), h); vector.getMutator().setValueCount(idx()+1); }
public void setSafe(int index, NullableBigIntHolder holder) { setType(index, MinorType.BIGINT); getBigIntVector().getMutator().setSafe(index, holder); }
static void setNullableLongColumnValue(final long data, final ValueVector vv, final int count) { ((NullableBigIntVector.Mutator) vv.getMutator()) .setSafe(count, data); }
public void writeBigInt(long value) { mutator.setSafe(idx(), 1, value); vector.getMutator().setValueCount(idx() + 1); }
private void setLongColumnValue(long data, ProjectedColumnInfo pci, final int count) { ((NullableBigIntVector.Mutator) pci.vv.getMutator()) .setSafe(count, data); }
@Override protected void readField(long recordsToReadInThisPass) { if (usingDictionary) { for (int i = 0; i < recordsToReadInThisPass; i++){ valueVec.getMutator().setSafe(valuesReadInCurrentPass + i, pageReader.dictionaryValueReader.readLong()); } } else { for (int i = 0; i < recordsToReadInThisPass; i++){ valueVec.getMutator().setSafe(valuesReadInCurrentPass + i, pageReader.valueReader.readLong()); } } } }
@Override public void writeField(Object value, int outboundIndex) { if (value != null) { vector.getMutator().setSafe(outboundIndex, (Long) value); } }
public void write(BigIntHolder h) { mutator.setSafe(idx(), h); vector.getMutator().setValueCount(idx()+1); }
public void setSafe(int index, NullableBigIntHolder holder) { setType(index, MinorType.BIGINT); getBigIntVector().getMutator().setSafe(index, holder); }
public void write(NullableBigIntHolder h) { mutator.setSafe(idx(), h); vector.getMutator().setValueCount(idx()+1); }
public void writeBigInt(long value) { mutator.setSafe(idx(), 1, value); vector.getMutator().setValueCount(idx() + 1); }
public void write(BigIntHolder h) { mutator.setSafe(idx(), h); vector.getMutator().setValueCount(idx()+1); }
@Override public void setSafeValue(ObjectInspector oi, Object hiveFieldValue, ValueVector outputVV, int outputIndex) { final long value = (long) ((LongObjectInspector)oi).getPrimitiveJavaObject(hiveFieldValue); ((NullableBigIntVector) outputVV).getMutator().setSafe(outputIndex, value); } }