public final int appendShorts(int length, short[] src, int offset) { reserve(elementsAppended + length); int result = elementsAppended; putShorts(elementsAppended, length, src, offset); elementsAppended += length; return result; }
public final int appendShorts(int count, short v) { reserve(elementsAppended + count); int result = elementsAppended; putShorts(elementsAppended, count, v); elementsAppended += count; return result; }
public void putShorts(int rowId, int count, short value) { vector.putShorts(rowId, count, value); }
public void putShorts(int rowId, int count, short[] src, int srcIndex) { vector.putShorts(rowId, count, src, srcIndex); }
public final int appendShorts(int count, short v) { reserve(elementsAppended + count); int result = elementsAppended; putShorts(elementsAppended, count, v); elementsAppended += count; return result; }
public final int appendShorts(int length, short[] src, int offset) { reserve(elementsAppended + length); int result = elementsAppended; putShorts(elementsAppended, length, src, offset); elementsAppended += length; return result; }
col.putBytes(0, capacity, row.getByte(fieldIdx)); } else if (t == DataTypes.ShortType) { col.putShorts(0, capacity, row.getShort(fieldIdx)); } else if (t == DataTypes.IntegerType) { col.putInts(0, capacity, row.getInt(fieldIdx));
col.putBytes(0, capacity, row.getByte(fieldIdx)); } else if (t == DataTypes.ShortType) { col.putShorts(0, capacity, row.getShort(fieldIdx)); } else if (t == DataTypes.IntegerType) { col.putInts(0, capacity, row.getInt(fieldIdx));