VectorRowBytesContainer bigTable = partition.getMatchfileRowBytesContainer(); bigTable.prepareForReading();
VectorMapJoinRowBytesContainer bigTable = partition.getMatchfileRowBytesContainer(); bigTable.prepareForReading();
VectorMapJoinRowBytesContainer bigTable = partition.getMatchfileRowBytesContainer(); bigTable.prepareForReading();
private void spillSerializeRow(VectorizedRowBatch batch, int batchIndex, VectorMapJoinHashTableResult hashTableResult) throws IOException { int partitionId = hashTableResult.spillPartitionId(); HybridHashTableContainer ht = (HybridHashTableContainer) mapJoinTables[posSingleVectorMapJoinSmallTable]; HashPartition hp = ht.getHashPartitions()[partitionId]; VectorMapJoinRowBytesContainer rowBytesContainer = hp.getMatchfileRowBytesContainer(); Output output = rowBytesContainer.getOuputForRowBytes(); // int offset = output.getLength(); bigTableVectorSerializeRow.setOutputAppend(output); bigTableVectorSerializeRow.serializeWrite(batch, batchIndex); // int length = output.getLength() - offset; rowBytesContainer.finishRow(); // LOG.debug("spillSerializeRow spilled batchIndex " + batchIndex + ", length " + length); }
private void spillSerializeRow(VectorizedRowBatch batch, int batchIndex, VectorMapJoinHashTableResult hashTableResult) throws IOException { int partitionId = hashTableResult.spillPartitionId(); HybridHashTableContainer ht = (HybridHashTableContainer) mapJoinTables[posSingleVectorMapJoinSmallTable]; HashPartition hp = ht.getHashPartitions()[partitionId]; VectorMapJoinRowBytesContainer rowBytesContainer = hp.getMatchfileRowBytesContainer(); Output output = rowBytesContainer.getOuputForRowBytes(); // int offset = output.getLength(); bigTableVectorSerializeRow.setOutputAppend(output); bigTableVectorSerializeRow.serializeWrite(batch, batchIndex); // int length = output.getLength() - offset; rowBytesContainer.finishRow(); // LOG.debug("spillSerializeRow spilled batchIndex " + batchIndex + ", length " + length); }
private void spillSerializeRow(VectorizedRowBatch batch, int batchIndex, int partitionId) throws IOException { HybridHashTableContainer ht = (HybridHashTableContainer) mapJoinTables[posSingleVectorMapJoinSmallTable]; HashPartition hp = ht.getHashPartitions()[partitionId]; VectorRowBytesContainer rowBytesContainer = hp.getMatchfileRowBytesContainer(); Output output = rowBytesContainer.getOuputForRowBytes(); bigTableVectorSerializeRow.setOutputAppend(output); bigTableVectorSerializeRow.serializeWrite(batch, batchIndex); rowBytesContainer.finishRow(); }