Package org.drools.core.common
Class EmptyBetaConstraints
- java.lang.Object
-
- org.drools.core.common.EmptyBetaConstraints
-
- All Implemented Interfaces:
Externalizable,Serializable,BetaConstraints
public class EmptyBetaConstraints extends Object implements BetaConstraints
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyBetaConstraints()
-
Method Summary
-
-
-
Method Detail
-
getInstance
public static BetaConstraints getInstance()
-
cloneIfInUse
public EmptyBetaConstraints cloneIfInUse()
- Specified by:
cloneIfInUsein interfaceBetaConstraints
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
updateFromTuple
public void updateFromTuple(ContextEntry[] context, ReteEvaluator reteEvaluator, Tuple tuple)
- Specified by:
updateFromTuplein interfaceBetaConstraints
-
updateFromFactHandle
public void updateFromFactHandle(ContextEntry[] context, ReteEvaluator reteEvaluator, InternalFactHandle handle)
- Specified by:
updateFromFactHandlein interfaceBetaConstraints
-
resetTuple
public void resetTuple(ContextEntry[] context)
- Specified by:
resetTuplein interfaceBetaConstraints
-
resetFactHandle
public void resetFactHandle(ContextEntry[] context)
- Specified by:
resetFactHandlein interfaceBetaConstraints
-
isAllowedCachedLeft
public boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
- Specified by:
isAllowedCachedLeftin interfaceBetaConstraints
-
isAllowedCachedRight
public boolean isAllowedCachedRight(ContextEntry[] context, Tuple tuple)
- Specified by:
isAllowedCachedRightin interfaceBetaConstraints
-
isIndexed
public boolean isIndexed()
- Specified by:
isIndexedin interfaceBetaConstraints
-
getIndexCount
public int getIndexCount()
- Specified by:
getIndexCountin interfaceBetaConstraints
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceBetaConstraints
-
createBetaMemory
public BetaMemory createBetaMemory(RuleBaseConfiguration config, short nodeType)
- Specified by:
createBetaMemoryin interfaceBetaConstraints
-
getConstraints
public BetaNodeFieldConstraint[] getConstraints()
- Specified by:
getConstraintsin interfaceBetaConstraints
-
equals
public boolean equals(Object object)
Determine if another object is equal to this.
-
createContext
public ContextEntry[] createContext()
- Specified by:
createContextin interfaceBetaConstraints
-
getOriginalConstraint
public BetaConstraints getOriginalConstraint()
- Specified by:
getOriginalConstraintin interfaceBetaConstraints
-
getListenedPropertyMask
public BitMask getListenedPropertyMask(ObjectType modifiedType, List<String> settableProperties)
- Specified by:
getListenedPropertyMaskin interfaceBetaConstraints
-
init
public void init(BuildContext context, short betaNodeType)
- Specified by:
initin interfaceBetaConstraints
-
initIndexes
public void initIndexes(int depth, short betaNodeType, RuleBaseConfiguration config)- Specified by:
initIndexesin interfaceBetaConstraints
-
isLeftUpdateOptimizationAllowed
public boolean isLeftUpdateOptimizationAllowed()
- Specified by:
isLeftUpdateOptimizationAllowedin interfaceBetaConstraints
-
registerEvaluationContext
public void registerEvaluationContext(BuildContext buildContext)
- Specified by:
registerEvaluationContextin interfaceBetaConstraints
-
-