Is it Possible to Loop Through the Records More Than Once Within a Java Manipulator Execute() Method in a Forge Pipeline? (Doc ID 2070558.1)

Last updated on OCTOBER 26, 2015

Applies to:

Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 6.1.0 and later
Information in this document applies to any platform.


When using a Forge pipeline Java Manipulator is it possible to loop through the records more than once within the manipulator's execute() method?

1. I would like to be able to loop through the records, grabbing significant property/dimension values along the way and then store it in a hashmap.
2. Perform another loop on the records, comparing stuff on the hashmap and then making changes —using emit()—on the records.

Essentially, I wanted to loop through the records twice, within the execute() method of the java manipulator class. Is this possible?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms