public final int appendLongs(int count, long v) { reserve(elementsAppended + count); int result = elementsAppended; putLongs(elementsAppended, count, v); elementsAppended += count; return result; }
public final int appendLongs(int length, long[] src, int offset) { reserve(elementsAppended + length); int result = elementsAppended; putLongs(elementsAppended, length, src, offset); elementsAppended += length; return result; }
public void putLongs(int rowId, int count, long value) { vector.putLongs(rowId, count, value); }
public void putLongs(int rowId, int count, long[] src, int srcIndex) { vector.putLongs(rowId, count, src, srcIndex); }
col.putInts(0, capacity, row.getInt(fieldIdx)); } else if (t == DataTypes.LongType) { col.putLongs(0, capacity, row.getLong(fieldIdx)); } else if (t == DataTypes.FloatType) { col.putFloats(0, capacity, row.getFloat(fieldIdx)); col.putInts(0, capacity, (int)d.toUnscaledLong()); } else if (dt.precision() <= Decimal.MAX_LONG_DIGITS()) { col.putLongs(0, capacity, d.toUnscaledLong()); } else { final BigInteger integer = d.toJavaBigDecimal().unscaledValue(); CalendarInterval c = (CalendarInterval)row.get(fieldIdx, t); col.getChildColumn(0).putInts(0, capacity, c.months); col.getChildColumn(1).putLongs(0, capacity, c.microseconds); } else if (t instanceof DateType) { col.putInts(0, capacity, row.getInt(fieldIdx)); } else if (t instanceof TimestampType) { col.putLongs(0, capacity, row.getLong(fieldIdx));
public final int appendLongs(int count, long v) { reserve(elementsAppended + count); int result = elementsAppended; putLongs(elementsAppended, count, v); elementsAppended += count; return result; }
public final int appendLongs(int length, long[] src, int offset) { reserve(elementsAppended + length); int result = elementsAppended; putLongs(elementsAppended, length, src, offset); elementsAppended += length; return result; }
col.putInts(0, capacity, row.getInt(fieldIdx)); } else if (t == DataTypes.LongType) { col.putLongs(0, capacity, row.getLong(fieldIdx)); } else if (t == DataTypes.FloatType) { col.putFloats(0, capacity, row.getFloat(fieldIdx)); col.putInts(0, capacity, (int)d.toUnscaledLong()); } else if (dt.precision() <= Decimal.MAX_LONG_DIGITS()) { col.putLongs(0, capacity, d.toUnscaledLong()); } else { final BigInteger integer = d.toJavaBigDecimal().unscaledValue(); CalendarInterval c = (CalendarInterval)row.get(fieldIdx, t); col.getChildColumn(0).putInts(0, capacity, c.months); col.getChildColumn(1).putLongs(0, capacity, c.microseconds); } else if (t instanceof DateType) { col.putInts(0, capacity, row.getInt(fieldIdx)); } else if (t instanceof TimestampType) { col.putLongs(0, capacity, row.getLong(fieldIdx));