Source:
<code>public void scan() throws IOException { if (!rowGroupOpen) { openRowGroup(type); } beginScan(presentStream, null); ensureValuesCapacity(); makeInnerQualifyingSet(); QualifyingSet input = hasNulls ? innerQualifyingSet : inputQualifyingSet; int numInput = input.getPositionCount(); if (inDictionaryStream != null) { <START> if (inDictionaryFlags == null || inDictionaryFlags.length < numInput) { <END> inDictionaryFlags = new boolean[roundupSize(numInput)]; } int begin = hasNulls ? innerPosInRowGroup : posInRowGroup; int end = input.getEnd(); inDictionaryStream.getSetBits(input.getPositions(), numInput, begin, end - begin, inDictionaryFlags); } if (filter != null) { outputQualifyingSet.reset(numInput); } if (numInput > 0) { if (filter != null) { outputQualifyingSet.reset(numInput); resultsProcessor.reset(); numInnerResults = dataStream.scan(input.getPositions(), 0, numInput, input.getEnd(), resultsProcessor); outputQualifyingSet.setPositionCount(numInnerResults); } else { resultsProcessor.reset(); numInnerResults = dataStream.scan(input.getPositions(), 0, numInput, input.getEnd(), resultsProcessor); } } if (hasNulls) { innerPosInRowGroup = innerQualifyingSet.getEnd(); } addNullsAfterScan(filter != null ? outputQualifyingSet : inputQualifyingSet, inputQualifyingSet.getEnd()); if (filter != null) { outputQualifyingSet.setEnd(inputQualifyingSet.getEnd()); } if (outputChannelSet) { if (numValues > 0) { averageResultSize = SIZE_OF_INT + toIntExact(dictionaryBlock.getSizeInBytes() / numValues); } else { averageResultSize = SIZE_OF_INT; } } endScan(presentStream); }</code><technical_language>this more named inputPositionCount similar</technical_language>

Target:
public void scan() throws IOException { if (!rowGroupOpen) { openRowGroup(type); } beginScan(presentStream, null); ensureValuesCapacity(); makeInnerQualifyingSet(); QualifyingSet input = hasNulls ? innerQualifyingSet : inputQualifyingSet; int numInput = input.getPositionCount(); if (inDictionaryStream != null) { if (inDictionaryFlags == null || inDictionaryFlags.length < numInput) { inDictionaryFlags = newBooleanArrayForReuse(numInput); } int begin = hasNulls ? innerPosInRowGroup : posInRowGroup; int end = input.getEnd(); inDictionaryStream.getSetBits(input.getPositions(), numInput, begin, end - begin, inDictionaryFlags); } if (filter != null) { outputQualifyingSet.reset(numInput); } if (numInput > 0) { if (filter != null) { outputQualifyingSet.reset(numInput); resultsProcessor.reset(); numInnerResults = dataStream.scan(input.getPositions(), 0, numInput, input.getEnd(), resultsProcessor); outputQualifyingSet.setPositionCount(numInnerResults); } else { resultsProcessor.reset(); numInnerResults = dataStream.scan(input.getPositions(), 0, numInput, input.getEnd(), resultsProcessor); } } if (hasNulls) { innerPosInRowGroup = innerQualifyingSet.getEnd(); } addNullsAfterScan(filter != null ? outputQualifyingSet : inputQualifyingSet, inputQualifyingSet.getEnd()); if (filter != null) { outputQualifyingSet.setEnd(inputQualifyingSet.getEnd()); } if (outputChannelSet) { if (numValues > 0) { averageResultSize = SIZE_OF_INT + toIntExact(dictionaryBlock.getSizeInBytes() / numValues); } else { averageResultSize = SIZE_OF_INT; } } endScan(presentStream); }