org.drools.common
Class TripleNonIndexSkipBetaConstraints
java.lang.Object
org.drools.common.TripleNonIndexSkipBetaConstraints
- All Implemented Interfaces:
- Externalizable, Serializable, BetaConstraints
public class TripleNonIndexSkipBetaConstraints
- extends Object
- implements BetaConstraints
- See Also:
- Serialized Form
TripleNonIndexSkipBetaConstraints
public TripleNonIndexSkipBetaConstraints()
TripleNonIndexSkipBetaConstraints
public TripleNonIndexSkipBetaConstraints(TripleBetaConstraints constraints)
init
public void init(BuildContext context,
short betaNodeType)
- Specified by:
init in interface BetaConstraints
initIndexes
public void initIndexes(int depth,
short betaNodeType)
- Specified by:
initIndexes in interface BetaConstraints
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
getOriginalConstraint
public BetaConstraints getOriginalConstraint()
- Specified by:
getOriginalConstraint in interface BetaConstraints
createContext
public ContextEntry[] createContext()
- Specified by:
createContext in interface BetaConstraints
updateFromTuple
public void updateFromTuple(ContextEntry[] context,
InternalWorkingMemory workingMemory,
LeftTuple tuple)
- Specified by:
updateFromTuple in interface BetaConstraints
updateFromFactHandle
public void updateFromFactHandle(ContextEntry[] context,
InternalWorkingMemory workingMemory,
InternalFactHandle handle)
- Specified by:
updateFromFactHandle in interface BetaConstraints
isIndexed
public boolean isIndexed()
- Specified by:
isIndexed in interface BetaConstraints
getIndexCount
public int getIndexCount()
- Specified by:
getIndexCount in interface BetaConstraints
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface BetaConstraints
createBetaMemory
public BetaMemory createBetaMemory(RuleBaseConfiguration config,
short nodeType)
- Specified by:
createBetaMemory in interface BetaConstraints
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getConstraints
public BetaNodeFieldConstraint[] getConstraints()
- Specified by:
getConstraints in interface BetaConstraints
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
resetFactHandle
public void resetFactHandle(ContextEntry[] context)
- Specified by:
resetFactHandle in interface BetaConstraints
resetTuple
public void resetTuple(ContextEntry[] context)
- Specified by:
resetTuple in interface BetaConstraints
toString
public String toString()
- Overrides:
toString in class Object
isAllowedCachedLeft
public boolean isAllowedCachedLeft(ContextEntry[] context,
InternalFactHandle handle)
- Specified by:
isAllowedCachedLeft in interface BetaConstraints
isAllowedCachedRight
public boolean isAllowedCachedRight(ContextEntry[] context,
LeftTuple tuple)
- Specified by:
isAllowedCachedRight in interface BetaConstraints
getListenedPropertyMask
public long getListenedPropertyMask(List<String> settableProperties)
- Specified by:
getListenedPropertyMask in interface BetaConstraints
isLeftUpdateOptimizationAllowed
public boolean isLeftUpdateOptimizationAllowed()
- Specified by:
isLeftUpdateOptimizationAllowed in interface BetaConstraints
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.