public void forEachEntryAsBytes(final Txn<ByteBuffer> txn,
                                    final UID mapUid,
                                    final Consumer<KeyVal<ByteBuffer>> keyValueConsumer) {
        try (final PooledByteBuffer startKeyBuffer = getPooledKeyBuffer();
                final PooledByteBuffer stopKeyBuffer = getPooledKeyBuffer()) {

            final KeyRange<ByteBuffer> keyRange = buildSingleMapUidKeyRange(
                    mapUid,
                    startKeyBuffer.getByteBuffer(),
                    stopKeyBuffer.getByteBuffer());

            forEachEntryAsBytes(txn, keyRange, keyValueConsumer);
        }
    }
Apply the passes entryConsumer for each entry found matching the supplied UID
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/databases/RangeStoreDb.java