protected void generateOuterNulls(VectorizedRowBatch batch, int[] noMatchs,
       int noMatchSize) throws IOException, HiveException {

    // Set null information in the small table results area.

    for (int i = 0; i < noMatchSize; i++) {
      int batchIndex = noMatchs[i];

      // Mark any scratch small table scratch columns that would normally receive a copy of the
      // key as null, too.
      //
      for (int column : outerSmallTableKeyColumnMap) {
        ColumnVector colVector = batch.cols[column];
        colVector.noNulls = false;
        colVector.isNull[batchIndex] = true;
      }

      // Small table values are set to null.
      for (int column : smallTableValueColumnMap) {
        ColumnVector colVector = batch.cols[column];
        colVector.noNulls = false;
        colVector.isNull[batchIndex] = true;
      }
    }
  }
Generate the non matching outer join output results for one vectorized row batch.

For each non matching row specified by parameter, generate nulls for the small table results.

@param batch
         The big table batch with any matching and any non matching rows both as
         selected in use.
@param noMatchs
         A subset of the rows of the batch that are non matches.
@param noMatchSize
         Number of non matches in noMatchs.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinOuterGenerateResultOperator.java