Package org.drools.core.common
Class DoubleBetaConstraints
- java.lang.Object
-
- org.drools.core.common.MultipleBetaConstraint
-
- org.drools.core.common.DoubleBetaConstraints
-
- All Implemented Interfaces:
Externalizable
,Serializable
,BetaConstraints
public class DoubleBetaConstraints extends MultipleBetaConstraint
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.drools.core.common.MultipleBetaConstraint
constraints, disableIndexing, indexed, indexPrecedenceOption
-
-
Constructor Summary
Constructors Modifier Constructor Description DoubleBetaConstraints()
DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf)
DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf, boolean disableIndexing)
protected
DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, org.kie.internal.conf.IndexPrecedenceOption indexPrecedenceOption, boolean disableIndexing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleBetaConstraints
cloneIfInUse()
boolean
equals(Object object)
Determine if another object is equal to this.BitMask
getListenedPropertyMask(ObjectType modifiedType, List<String> settableProperties)
BetaConstraints
getOriginalConstraint()
int
hashCode()
boolean
isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
boolean
isAllowedCachedRight(ContextEntry[] context, Tuple tuple)
void
registerEvaluationContext(BuildContext buildContext)
void
resetFactHandle(ContextEntry[] context)
void
resetTuple(ContextEntry[] context)
void
updateFromFactHandle(ContextEntry[] context, ReteEvaluator reteEvaluator, InternalFactHandle handle)
void
updateFromTuple(ContextEntry[] context, ReteEvaluator reteEvaluator, Tuple tuple)
-
Methods inherited from class org.drools.core.common.MultipleBetaConstraint
createBetaMemory, createContext, getConstraints, getIndexCount, init, initIndexes, isEmpty, isIndexed, isLeftUpdateOptimizationAllowed, readExternal, writeExternal
-
-
-
-
Constructor Detail
-
DoubleBetaConstraints
public DoubleBetaConstraints()
-
DoubleBetaConstraints
public DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf)
-
DoubleBetaConstraints
public DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf, boolean disableIndexing)
-
DoubleBetaConstraints
protected DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, org.kie.internal.conf.IndexPrecedenceOption indexPrecedenceOption, boolean disableIndexing)
-
-
Method Detail
-
cloneIfInUse
public DoubleBetaConstraints cloneIfInUse()
-
updateFromTuple
public void updateFromTuple(ContextEntry[] context, ReteEvaluator reteEvaluator, Tuple tuple)
-
updateFromFactHandle
public void updateFromFactHandle(ContextEntry[] context, ReteEvaluator reteEvaluator, InternalFactHandle handle)
-
resetTuple
public void resetTuple(ContextEntry[] context)
-
resetFactHandle
public void resetFactHandle(ContextEntry[] context)
-
isAllowedCachedLeft
public boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
-
isAllowedCachedRight
public boolean isAllowedCachedRight(ContextEntry[] context, Tuple tuple)
-
equals
public boolean equals(Object object)
Determine if another object is equal to this.
-
getOriginalConstraint
public BetaConstraints getOriginalConstraint()
-
getListenedPropertyMask
public BitMask getListenedPropertyMask(ObjectType modifiedType, List<String> settableProperties)
-
registerEvaluationContext
public void registerEvaluationContext(BuildContext buildContext)
- Specified by:
registerEvaluationContext
in interfaceBetaConstraints
- Overrides:
registerEvaluationContext
in classMultipleBetaConstraint
-
-