com.googlecode.sarasvati.join
Class MergeJoinStrategy
java.lang.Object
com.googlecode.sarasvati.join.MergeJoinStrategy
- All Implemented Interfaces:
- JoinStrategy
public class MergeJoinStrategy
- extends Object
- implements JoinStrategy
Class for JoinStrategies which wish to first attempt a merge, then
fall back to another join strategy if that fails.
- Author:
- Paul Lorenz
MergeJoinStrategy
public MergeJoinStrategy(JoinStrategy fallbackJoinStrategy)
performJoin
public JoinResult performJoin(Engine engine,
ArcToken token)
- Description copied from interface:
JoinStrategy
- Called on every
ArcToken
when processed.
- Specified by:
performJoin
in interface JoinStrategy
- Parameters:
engine
- The engine executing the given process.token
- The arc token being processed.
- Returns:
- A
JoinResult
which contains a boolean indicating whether or not
the join is complete and the set of arc tokens participating in the join.