public abstract class MultipleBetaConstraint extends Object implements BetaConstraints
Modifier and Type | Field and Description |
---|---|
protected BetaNodeFieldConstraint[] |
constraints |
protected boolean |
disableIndexing |
protected boolean[] |
indexed |
protected org.kie.internal.conf.IndexPrecedenceOption |
indexPrecedenceOption |
Modifier | Constructor and Description |
---|---|
|
MultipleBetaConstraint() |
protected |
MultipleBetaConstraint(BetaNodeFieldConstraint[] constraints,
org.kie.internal.conf.IndexPrecedenceOption indexPrecedenceOption,
boolean disableIndexing) |
|
MultipleBetaConstraint(BetaNodeFieldConstraint[] constraints,
RuleBaseConfiguration conf,
boolean disableIndexing) |
Modifier and Type | Method and Description |
---|---|
BetaMemory |
createBetaMemory(RuleBaseConfiguration config,
short nodeType) |
ContextEntry[] |
createContext() |
BetaNodeFieldConstraint[] |
getConstraints() |
int |
getIndexCount() |
void |
init(BuildContext context,
short betaNodeType) |
void |
initIndexes(int depth,
short betaNodeType) |
boolean |
isEmpty() |
boolean |
isIndexed() |
boolean |
isLeftUpdateOptimizationAllowed() |
void |
readExternal(ObjectInput in) |
void |
registerEvaluationContext(BuildContext buildContext) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cloneIfInUse, getListenedPropertyMask, getOriginalConstraint, isAllowedCachedLeft, isAllowedCachedRight, resetFactHandle, resetTuple, updateFromFactHandle, updateFromTuple
protected BetaNodeFieldConstraint[] constraints
protected boolean[] indexed
protected org.kie.internal.conf.IndexPrecedenceOption indexPrecedenceOption
protected transient boolean disableIndexing
public MultipleBetaConstraint()
public MultipleBetaConstraint(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf, boolean disableIndexing)
protected MultipleBetaConstraint(BetaNodeFieldConstraint[] constraints, org.kie.internal.conf.IndexPrecedenceOption indexPrecedenceOption, boolean disableIndexing)
public final void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public final void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public final void init(BuildContext context, short betaNodeType)
init
in interface BetaConstraints
public final void initIndexes(int depth, short betaNodeType)
initIndexes
in interface BetaConstraints
public final boolean isIndexed()
isIndexed
in interface BetaConstraints
public final int getIndexCount()
getIndexCount
in interface BetaConstraints
public BetaMemory createBetaMemory(RuleBaseConfiguration config, short nodeType)
createBetaMemory
in interface BetaConstraints
public final BetaNodeFieldConstraint[] getConstraints()
getConstraints
in interface BetaConstraints
public final ContextEntry[] createContext()
createContext
in interface BetaConstraints
public final boolean isEmpty()
isEmpty
in interface BetaConstraints
public boolean isLeftUpdateOptimizationAllowed()
isLeftUpdateOptimizationAllowed
in interface BetaConstraints
public void registerEvaluationContext(BuildContext buildContext)
registerEvaluationContext
in interface BetaConstraints
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.