private static DirectedRecordIterator applyFilters(DirectedRecordIterator it, int columnIndex,
			Field beg, Field end) throws IOException {
		// TODO: Just use Apache's FilteringIterator for both of these. It supports delete.
		if (beg != null) {
			it = applyBegFilter(it, columnIndex, beg);
		}
		if (end != null) {
			it = applyEndFilter(it, columnIndex, end);
		}
		return it;
	}
Given an iterator over a closed range. Change its behavior to exclude the upper bound

@param it the iterator over the closed range
@param columnIndex the column number whose index being iterated
@param exclude the upper bound to be excluded
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DirectedRecordIterator.java