org.drools.common
Class MultipleBetaConstraint
java.lang.Object
org.drools.common.MultipleBetaConstraint
- All Implemented Interfaces:
- Externalizable, Serializable, BetaConstraints
- Direct Known Subclasses:
- DoubleBetaConstraints, QuadroupleBetaConstraints, TripleBetaConstraints
public abstract class MultipleBetaConstraint
- extends Object
- implements BetaConstraints
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constraints
protected BetaNodeFieldConstraint[] constraints
indexed
protected boolean[] indexed
MultipleBetaConstraint
public MultipleBetaConstraint()
MultipleBetaConstraint
public MultipleBetaConstraint(BetaNodeFieldConstraint[] constraints,
RuleBaseConfiguration conf,
boolean disableIndexing)
readExternal
public final void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public final void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
init
public final void init(BuildContext context,
short betaNodeType)
- Specified by:
init in interface BetaConstraints
initIndexes
public final void initIndexes(int depth,
short betaNodeType)
- Specified by:
initIndexes in interface BetaConstraints
isIndexed
public final boolean isIndexed()
- Specified by:
isIndexed in interface BetaConstraints
getIndexCount
public final int getIndexCount()
- Specified by:
getIndexCount in interface BetaConstraints
createBetaMemory
public BetaMemory createBetaMemory(RuleBaseConfiguration config,
short nodeType)
- Specified by:
createBetaMemory in interface BetaConstraints
getConstraints
public final BetaNodeFieldConstraint[] getConstraints()
- Specified by:
getConstraints in interface BetaConstraints
createContext
public final ContextEntry[] createContext()
- Specified by:
createContext in interface BetaConstraints
isEmpty
public final boolean isEmpty()
- Specified by:
isEmpty in interface BetaConstraints
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.