org.drools.common
Class TripleNonIndexSkipBetaConstraints

java.lang.Object
  extended by org.drools.common.TripleNonIndexSkipBetaConstraints
All Implemented Interfaces:
Externalizable, Serializable, BetaConstraints

public class TripleNonIndexSkipBetaConstraints
extends Object
implements BetaConstraints

See Also:
Serialized Form

Constructor Summary
TripleNonIndexSkipBetaConstraints()
           
TripleNonIndexSkipBetaConstraints(TripleBetaConstraints constraints)
           
 
Method Summary
 BetaMemory createBetaMemory(RuleBaseConfiguration config, short nodeType)
           
 ContextEntry[] createContext()
           
 boolean equals(Object object)
           
 LinkedList getConstraints()
           
 int getIndexCount()
           
 BetaConstraints getOriginalConstraint()
           
 int hashCode()
           
 boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
           
 boolean isAllowedCachedRight(ContextEntry[] context, LeftTuple tuple)
           
 boolean isEmpty()
           
 boolean isIndexed()
           
 void readExternal(ObjectInput in)
           
 void resetFactHandle(ContextEntry[] context)
           
 void resetTuple(ContextEntry[] context)
           
 String toString()
           
 void updateFromFactHandle(ContextEntry[] context, InternalWorkingMemory workingMemory, InternalFactHandle handle)
           
 void updateFromTuple(ContextEntry[] context, InternalWorkingMemory workingMemory, LeftTuple tuple)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TripleNonIndexSkipBetaConstraints

public TripleNonIndexSkipBetaConstraints()

TripleNonIndexSkipBetaConstraints

public TripleNonIndexSkipBetaConstraints(TripleBetaConstraints constraints)
Method Detail

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 LinkedList 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


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.