private void nextRandomRow(byte[][] row, BytesRefArrayWritable bytes) { bytes.resetValid(row.length); for (int i = 0; i < row.length; i++) { int len = Math.abs(randColLenGenerator.nextInt(columnMaxSize)); row[i] = new byte[len]; for (int j = 0; j < len; j++) { row[i][j] = getRandomChar(randomCharGenerator); } bytes.get(i).set(row[i], 0, len); } }
ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); } else { ref.set(currentValue.lazyDecompressCallbackObjs[j], col.rowReadIndex, col.prvLength); ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); col.rowReadIndex += col.prvLength;
ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); } else { ref.set(currentValue.lazyDecompressCallbackObjs[j], col.rowReadIndex, col.prvLength); ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); col.rowReadIndex += col.prvLength;
LazyBinarySerDe.serialize(serializeStream, f, foi, true, warnedOnceNullMapKey); field[i].set(serializeStream.getData(), streamOffset, serializeStream .getLength() - streamOffset);
field[i].set(serializeStream.getData(), count, serializeStream .getLength() - count);
ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); } else { ref.set(currentValue.lazyDecompressCallbackObjs[j], col.rowReadIndex, col.prvLength); ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); col.rowReadIndex += col.prvLength;
ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); } else { ref.set(currentValue.lazyDecompressCallbackObjs[j], col.rowReadIndex, col.prvLength); ref.set(currentValue.loadedColumnsValueBuffer[j].getData(), col.rowReadIndex, col.prvLength); col.rowReadIndex += col.prvLength;
LazyBinarySerDe.serialize(serializeStream, f, foi, true, warnedOnceNullMapKey); field[i].set(serializeStream.getData(), streamOffset, serializeStream.getLength() - streamOffset); streamOffset = serializeStream.getLength();
LazyBinarySerDe.serialize(serializeStream, f, foi, true, warnedOnceNullMapKey); field[i].set(serializeStream.getData(), streamOffset, serializeStream .getLength() - streamOffset);
LazyBinarySerDe.serialize(serializeStream, f, foi, true, warnedOnceNullMapKey); field[i].set(serializeStream.getData(), streamOffset, serializeStream .getLength() - streamOffset);
LazyBinarySerDe.serialize(serializeStream, f, foi, true, warnedOnceNullMapKey); field[i].set(serializeStream.getData(), streamOffset, serializeStream .getLength() - streamOffset);
LazyBinarySerDe.serialize(serializeStream, f, foi, true, warnedOnceNullMapKey); field[i].set(serializeStream.getData(), streamOffset, serializeStream .getLength() - streamOffset);
field[i].set(serializeStream.getData(), count, serializeStream .getCount() - count);
field[i].set(serializeStream.getData(), count, serializeStream .getLength() - count);