Class AbstractIndexedJoinNode<LeftTuple_ extends Tuple,Right_,OutTuple_ extends Tuple,MutableOutTuple_ extends OutTuple_>
java.lang.Object
org.optaplanner.constraint.streams.bavet.common.AbstractNode
org.optaplanner.constraint.streams.bavet.common.AbstractJoinNode<LeftTuple_,Right_,OutTuple_,MutableOutTuple_>
org.optaplanner.constraint.streams.bavet.common.AbstractIndexedJoinNode<LeftTuple_,Right_,OutTuple_,MutableOutTuple_>
- Type Parameters:
LeftTuple_-Right_-
- All Implemented Interfaces:
LeftTupleLifecycle<LeftTuple_>,RightTupleLifecycle<UniTuple<Right_>>
public abstract class AbstractIndexedJoinNode<LeftTuple_ extends Tuple,Right_,OutTuple_ extends Tuple,MutableOutTuple_ extends OutTuple_>
extends AbstractJoinNode<LeftTuple_,Right_,OutTuple_,MutableOutTuple_>
implements LeftTupleLifecycle<LeftTuple_>, RightTupleLifecycle<UniTuple<Right_>>
There is a strong likelihood that any change to this class, which is not related to indexing,
should also be made to
AbstractUnindexedJoinNode.-
Field Summary
Fields inherited from class org.optaplanner.constraint.streams.bavet.common.AbstractJoinNode
dirtyTupleQueue, inputStoreIndexLeftOutTupleList, inputStoreIndexRightOutTupleList -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractIndexedJoinNode(Function<Right_, IndexProperties> mappingRight, int inputStoreIndexLeftProperties, int inputStoreIndexLeftEntry, int inputStoreIndexLeftOutTupleList, int inputStoreIndexRightProperties, int inputStoreIndexRightEntry, int inputStoreIndexRightOutTupleList, TupleLifecycle<OutTuple_> nextNodesTupleLifecycle, boolean isFiltering, int outputStoreIndexLeftOutEntry, int outputStoreIndexRightOutEntry, Indexer<LeftTuple_> indexerLeft, Indexer<UniTuple<Right_>> indexerRight) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IndexPropertiescreateIndexPropertiesLeft(LeftTuple_ leftTuple) final voidinsertLeft(LeftTuple_ leftTuple) final voidinsertRight(UniTuple<Right_> rightTuple) final voidretractLeft(LeftTuple_ leftTuple) final voidretractRight(UniTuple<Right_> rightTuple) final voidupdateLeft(LeftTuple_ leftTuple) final voidupdateRight(UniTuple<Right_> rightTuple) Methods inherited from class org.optaplanner.constraint.streams.bavet.common.AbstractJoinNode
calculateScore, createOutTuple, innerUpdateLeft, innerUpdateRight, insertOutTuple, insertOutTupleFiltered, retractOutTuple, setOutTupleLeftFacts, setOutTupleRightFact, testFilteringMethods inherited from class org.optaplanner.constraint.streams.bavet.common.AbstractNode
setId, toString
-
Constructor Details
-
AbstractIndexedJoinNode
protected AbstractIndexedJoinNode(Function<Right_, IndexProperties> mappingRight, int inputStoreIndexLeftProperties, int inputStoreIndexLeftEntry, int inputStoreIndexLeftOutTupleList, int inputStoreIndexRightProperties, int inputStoreIndexRightEntry, int inputStoreIndexRightOutTupleList, TupleLifecycle<OutTuple_> nextNodesTupleLifecycle, boolean isFiltering, int outputStoreIndexLeftOutEntry, int outputStoreIndexRightOutEntry, Indexer<LeftTuple_> indexerLeft, Indexer<UniTuple<Right_>> indexerRight)
-
-
Method Details
-
insertLeft
- Specified by:
insertLeftin interfaceLeftTupleLifecycle<LeftTuple_ extends Tuple>
-
updateLeft
- Specified by:
updateLeftin interfaceLeftTupleLifecycle<LeftTuple_ extends Tuple>
-
retractLeft
- Specified by:
retractLeftin interfaceLeftTupleLifecycle<LeftTuple_ extends Tuple>
-
insertRight
- Specified by:
insertRightin interfaceRightTupleLifecycle<LeftTuple_ extends Tuple>
-
updateRight
- Specified by:
updateRightin interfaceRightTupleLifecycle<LeftTuple_ extends Tuple>
-
retractRight
- Specified by:
retractRightin interfaceRightTupleLifecycle<LeftTuple_ extends Tuple>
-
createIndexPropertiesLeft
-