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:
cloneIfInUse
in interfaceBetaConstraints
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
updateFromTuple
public void updateFromTuple(ContextEntry[] context, InternalWorkingMemory workingMemory, Tuple tuple)
- Specified by:
updateFromTuple
in interfaceBetaConstraints
-
updateFromFactHandle
public void updateFromFactHandle(ContextEntry[] context, InternalWorkingMemory workingMemory, InternalFactHandle handle)
- Specified by:
updateFromFactHandle
in interfaceBetaConstraints
-
resetTuple
public void resetTuple(ContextEntry[] context)
- Specified by:
resetTuple
in interfaceBetaConstraints
-
resetFactHandle
public void resetFactHandle(ContextEntry[] context)
- Specified by:
resetFactHandle
in interfaceBetaConstraints
-
isAllowedCachedLeft
public boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
- Specified by:
isAllowedCachedLeft
in interfaceBetaConstraints
-
isAllowedCachedRight
public boolean isAllowedCachedRight(ContextEntry[] context, Tuple tuple)
- Specified by:
isAllowedCachedRight
in interfaceBetaConstraints
-
isIndexed
public boolean isIndexed()
- Specified by:
isIndexed
in interfaceBetaConstraints
-
getIndexCount
public int getIndexCount()
- Specified by:
getIndexCount
in interfaceBetaConstraints
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceBetaConstraints
-
createBetaMemory
public BetaMemory createBetaMemory(RuleBaseConfiguration config, short nodeType)
- Specified by:
createBetaMemory
in interfaceBetaConstraints
-
getConstraints
public BetaNodeFieldConstraint[] getConstraints()
- Specified by:
getConstraints
in interfaceBetaConstraints
-
equals
public boolean equals(Object object)
Determine if another object is equal to this.
-
createContext
public ContextEntry[] createContext()
- Specified by:
createContext
in interfaceBetaConstraints
-
getOriginalConstraint
public BetaConstraints getOriginalConstraint()
- Specified by:
getOriginalConstraint
in interfaceBetaConstraints
-
getListenedPropertyMask
public BitMask getListenedPropertyMask(Class modifiedClass, List<String> settableProperties)
- Specified by:
getListenedPropertyMask
in interfaceBetaConstraints
-
init
public void init(BuildContext context, short betaNodeType)
- Specified by:
init
in interfaceBetaConstraints
-
initIndexes
public void initIndexes(int depth, short betaNodeType, RuleBaseConfiguration config)
- Specified by:
initIndexes
in interfaceBetaConstraints
-
isLeftUpdateOptimizationAllowed
public boolean isLeftUpdateOptimizationAllowed()
- Specified by:
isLeftUpdateOptimizationAllowed
in interfaceBetaConstraints
-
registerEvaluationContext
public void registerEvaluationContext(BuildContext buildContext)
- Specified by:
registerEvaluationContext
in interfaceBetaConstraints
-
-