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, waitcloneIfInUse, getListenedPropertyMask, getOriginalConstraint, isAllowedCachedLeft, isAllowedCachedRight, resetFactHandle, resetTuple, updateFromFactHandle, updateFromTupleprotected 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 ExternalizableIOExceptionClassNotFoundExceptionpublic final void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic final void init(BuildContext context, short betaNodeType)
init in interface BetaConstraintspublic final void initIndexes(int depth,
short betaNodeType)
initIndexes in interface BetaConstraintspublic final boolean isIndexed()
isIndexed in interface BetaConstraintspublic final int getIndexCount()
getIndexCount in interface BetaConstraintspublic BetaMemory createBetaMemory(RuleBaseConfiguration config, short nodeType)
createBetaMemory in interface BetaConstraintspublic final BetaNodeFieldConstraint[] getConstraints()
getConstraints in interface BetaConstraintspublic final ContextEntry[] createContext()
createContext in interface BetaConstraintspublic final boolean isEmpty()
isEmpty in interface BetaConstraintspublic boolean isLeftUpdateOptimizationAllowed()
isLeftUpdateOptimizationAllowed in interface BetaConstraintspublic void registerEvaluationContext(BuildContext buildContext)
registerEvaluationContext in interface BetaConstraintsCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.