org.drools.common
Interface BetaConstraints

All Superinterfaces:
Externalizable, Serializable
All Known Implementing Classes:
DefaultBetaConstraints, DoubleBetaConstraints, DoubleNonIndexSkipBetaConstraints, EmptyBetaConstraints, QuadroupleBetaConstraints, QuadroupleNonIndexSkipBetaConstraints, SingleBetaConstraints, SingleNonIndexSkipBetaConstraints, TripleBetaConstraints, TripleNonIndexSkipBetaConstraints

public interface BetaConstraints
extends Externalizable


Method Summary
 BetaMemory createBetaMemory(RuleBaseConfiguration config)
           
 ContextEntry[] createContext()
           
 LinkedList getConstraints()
           
 int getIndexCount()
           
 BetaConstraints getOriginalConstraint()
           
 boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
           
 boolean isAllowedCachedRight(ContextEntry[] context, LeftTuple tuple)
           
 boolean isEmpty()
           
 boolean isIndexed()
           
 void resetFactHandle(ContextEntry[] context)
           
 void resetTuple(ContextEntry[] context)
           
 void updateFromFactHandle(ContextEntry[] context, InternalWorkingMemory workingMemory, InternalFactHandle handle)
           
 void updateFromTuple(ContextEntry[] context, InternalWorkingMemory workingMemory, LeftTuple tuple)
           
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

createContext

ContextEntry[] createContext()

updateFromTuple

void updateFromTuple(ContextEntry[] context,
                     InternalWorkingMemory workingMemory,
                     LeftTuple tuple)

updateFromFactHandle

void updateFromFactHandle(ContextEntry[] context,
                          InternalWorkingMemory workingMemory,
                          InternalFactHandle handle)

isAllowedCachedLeft

boolean isAllowedCachedLeft(ContextEntry[] context,
                            InternalFactHandle handle)

isAllowedCachedRight

boolean isAllowedCachedRight(ContextEntry[] context,
                             LeftTuple tuple)

getConstraints

LinkedList getConstraints()

getOriginalConstraint

BetaConstraints getOriginalConstraint()

isIndexed

boolean isIndexed()

getIndexCount

int getIndexCount()

isEmpty

boolean isEmpty()

createBetaMemory

BetaMemory createBetaMemory(RuleBaseConfiguration config)

resetTuple

void resetTuple(ContextEntry[] context)

resetFactHandle

void resetFactHandle(ContextEntry[] context)


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.