public class DoubleNonIndexSkipBetaConstraints extends Object implements BetaConstraints
| Constructor and Description |
|---|
DoubleNonIndexSkipBetaConstraints() |
DoubleNonIndexSkipBetaConstraints(DoubleBetaConstraints constraints) |
public DoubleNonIndexSkipBetaConstraints()
public DoubleNonIndexSkipBetaConstraints(DoubleBetaConstraints constraints)
public DoubleNonIndexSkipBetaConstraints cloneIfInUse()
cloneIfInUse in interface BetaConstraintspublic void init(BuildContext context, short betaNodeType)
init in interface BetaConstraintspublic void initIndexes(int depth,
short betaNodeType)
initIndexes in interface BetaConstraintspublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic BetaConstraints getOriginalConstraint()
getOriginalConstraint in interface BetaConstraintspublic ContextEntry[] createContext()
createContext in interface BetaConstraintspublic void updateFromTuple(ContextEntry[] context, InternalWorkingMemory workingMemory, LeftTuple tuple)
updateFromTuple in interface BetaConstraintspublic void updateFromFactHandle(ContextEntry[] context, InternalWorkingMemory workingMemory, InternalFactHandle handle)
updateFromFactHandle in interface BetaConstraintspublic boolean isIndexed()
isIndexed in interface BetaConstraintspublic int getIndexCount()
getIndexCount in interface BetaConstraintspublic boolean isEmpty()
isEmpty in interface BetaConstraintspublic BetaMemory createBetaMemory(RuleBaseConfiguration config, short nodeType)
createBetaMemory in interface BetaConstraintspublic BetaNodeFieldConstraint[] getConstraints()
getConstraints in interface BetaConstraintspublic void resetFactHandle(ContextEntry[] context)
resetFactHandle in interface BetaConstraintspublic void resetTuple(ContextEntry[] context)
resetTuple in interface BetaConstraintspublic boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
isAllowedCachedLeft in interface BetaConstraintspublic boolean isAllowedCachedRight(ContextEntry[] context, LeftTuple tuple)
isAllowedCachedRight in interface BetaConstraintspublic BitMask getListenedPropertyMask(List<String> settableProperties)
getListenedPropertyMask in interface BetaConstraintspublic boolean isLeftUpdateOptimizationAllowed()
isLeftUpdateOptimizationAllowed in interface BetaConstraintspublic void registerEvaluationContext(BuildContext buildContext)
registerEvaluationContext in interface BetaConstraintsCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.