Package | Description |
---|---|
org.drools.core.phreak | |
org.drools.core.reteoo | |
org.drools.core.reteoo.builder | |
org.drools.core.rule |
Contains the binary representations of rule constructs, like Package (which the compiler produces), Rule, and Conditional Elements.
|
org.drools.core.rule.constraint | |
org.drools.core.spi |
Modifier and Type | Method and Description |
---|---|
protected void |
PhreakFromNode.checkConstraintsAndPropagate(LeftTupleSink sink,
LeftTuple leftTuple,
RightTuple rightTuple,
AlphaNodeFieldConstraint[] alphaConstraints,
BetaConstraints betaConstraints,
PropagationContext propagationContext,
InternalWorkingMemory wm,
FromNode.FromMemory fm,
BetaMemory bm,
ContextEntry[] context,
boolean useLeftMemory,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples) |
Modifier and Type | Field and Description |
---|---|
protected AlphaNodeFieldConstraint[] |
FromNode.alphaConstraints |
protected AlphaNodeFieldConstraint[] |
AccumulateNode.resultConstraints |
Modifier and Type | Method and Description |
---|---|
AlphaNodeFieldConstraint[] |
FromNode.getAlphaConstraints() |
AlphaNodeFieldConstraint |
AlphaNode.getConstraint()
Retruns the
FieldConstraint |
AlphaNodeFieldConstraint[] |
AccumulateNode.getResultConstraints() |
Modifier and Type | Method and Description |
---|---|
List<AlphaNodeFieldConstraint> |
WindowNode.getConstraints()
Returns the
FieldConstraints |
Constructor and Description |
---|
AccumulateNode(int id,
LeftTupleSource leftInput,
ObjectSource rightInput,
AlphaNodeFieldConstraint[] resultConstraints,
BetaConstraints sourceBinder,
BetaConstraints resultBinder,
Accumulate accumulate,
boolean unwrapRightObject,
BuildContext context) |
AlphaNode(int id,
AlphaNodeFieldConstraint constraint,
ObjectSource objectSource,
BuildContext context)
Construct an
AlphaNode with a unique id using the provided
FieldConstraint and the given ObjectSource . |
FromNode.FromMemory(BetaMemory betaMemory,
Object providerContext,
AlphaNodeFieldConstraint[] constraints) |
FromNode(int id,
DataProvider dataProvider,
LeftTupleSource tupleSource,
AlphaNodeFieldConstraint[] constraints,
BetaConstraints binder,
boolean tupleMemoryEnabled,
BuildContext context,
From from) |
Constructor and Description |
---|
WindowNode(int id,
List<AlphaNodeFieldConstraint> constraints,
List<Behavior> behaviors,
ObjectSource objectSource,
BuildContext context)
Construct a
WindowNode with a unique id using the provided
list of AlphaNodeFieldConstraint and the given ObjectSource . |
Modifier and Type | Method and Description |
---|---|
List<AlphaNodeFieldConstraint> |
BuildContext.getAlphaConstraints() |
Modifier and Type | Method and Description |
---|---|
AccumulateNode |
PhreakNodeFactory.buildAccumulateNode(int id,
LeftTupleSource leftInput,
ObjectSource rightInput,
AlphaNodeFieldConstraint[] resultConstraints,
BetaConstraints sourceBinder,
BetaConstraints resultBinder,
Accumulate accumulate,
boolean unwrapRightObject,
BuildContext context) |
AccumulateNode |
NodeFactory.buildAccumulateNode(int id,
LeftTupleSource leftInput,
ObjectSource rightInput,
AlphaNodeFieldConstraint[] resultConstraints,
BetaConstraints sourceBinder,
BetaConstraints resultBinder,
Accumulate accumulate,
boolean unwrapRightObject,
BuildContext context) |
AlphaNode |
PhreakNodeFactory.buildAlphaNode(int id,
AlphaNodeFieldConstraint constraint,
ObjectSource objectSource,
BuildContext context) |
AlphaNode |
NodeFactory.buildAlphaNode(int id,
AlphaNodeFieldConstraint constraint,
ObjectSource objectSource,
BuildContext context) |
BaseNode |
PhreakNodeFactory.buildFromNode(int id,
DataProvider dataProvider,
LeftTupleSource tupleSource,
AlphaNodeFieldConstraint[] alphaNodeFieldConstraints,
BetaConstraints betaConstraints,
boolean tupleMemoryEnabled,
BuildContext context,
From from) |
BaseNode |
NodeFactory.buildFromNode(int id,
DataProvider dataProvider,
LeftTupleSource tupleSource,
AlphaNodeFieldConstraint[] alphaNodeFieldConstraints,
BetaConstraints betaConstraints,
boolean tupleMemoryEnabled,
BuildContext context,
From from) |
protected void |
PatternBuilder.linkAlphaConstraint(AlphaNodeFieldConstraint constraint,
List<AlphaNodeFieldConstraint> alphaConstraints) |
Modifier and Type | Method and Description |
---|---|
void |
PatternBuilder.attachAlphaNodes(BuildContext context,
BuildUtils utils,
Pattern pattern,
List<AlphaNodeFieldConstraint> alphaConstraints) |
protected void |
PatternBuilder.buildAlphaNodeChain(BuildContext context,
BuildUtils utils,
Pattern pattern,
List<AlphaNodeFieldConstraint> alphaConstraints) |
protected void |
PatternBuilder.linkAlphaConstraint(AlphaNodeFieldConstraint constraint,
List<AlphaNodeFieldConstraint> alphaConstraints) |
void |
BuildContext.setAlphaConstraints(List<AlphaNodeFieldConstraint> alphaConstraints) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompositeConstraint
A superclass for all composite constraints, like "OR" and "AND"
|
class |
MutableTypeConstraint
A base class for constraints
|
class |
PredicateConstraint
A predicate can be written as a top level constraint or be nested
inside inside a field constraint (and as so, must implement the
Restriction interface).
|
Modifier and Type | Field and Description |
---|---|
protected AlphaNodeFieldConstraint[] |
AbstractCompositeConstraint.alphaConstraints |
Modifier and Type | Method and Description |
---|---|
AlphaNodeFieldConstraint[] |
AbstractCompositeConstraint.getAlphaConstraints() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCompositeConstraint.addAlphaConstraint(AlphaNodeFieldConstraint constraint)
Adds an alpha constraint to the multi field OR constraint
|
Constructor and Description |
---|
AbstractCompositeConstraint.MultiFieldConstraintContextEntry(AlphaNodeFieldConstraint[] alphas,
BetaNodeFieldConstraint[] betas) |
Modifier and Type | Class and Description |
---|---|
class |
EvaluatorConstraint |
class |
MvelConstraint |
class |
QueryNameConstraint |
Modifier and Type | Method and Description |
---|---|
AlphaNodeFieldConstraint |
AlphaNodeFieldConstraint.cloneIfInUse()
Clone this constraints only if it is already used by a different node, otherwise returns this
|
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.