| java.lang.Object com.hp.hpl.jena.graph.query.Stage com.hp.hpl.jena.graph.query.ConstraintStage
ConstraintStage | public class ConstraintStage extends Stage (Code) | | A ConstraintStage implements the constraint evaluation part of a
query. Any constraints not handled by previous PatternStages are prepared
against the mapping and valuated against each binding that comes down
the pipe; only bindings that evaluate to true are passed onward.
author: kers |
Field Summary | |
protected ValuatorSet | prepared The set of prepared Valuators representing the constraint. |
Constructor Summary | |
public | ConstraintStage(Mapping map, ExpressionSet constraint) Initialise this ConstraintStage with the mapping [from names to indexes] and
ExpressionSet [the constraint expressions] that will be evaluated when the
constraint stage runs. |
Method Summary | |
public Pipe | deliver(Pipe L) the delivery component: read the domain elements out of the
input pipe, and only pass on those that satisfy the predicate. |
prepared | protected ValuatorSet prepared(Code) | | The set of prepared Valuators representing the constraint.
|
ConstraintStage | public ConstraintStage(Mapping map, ExpressionSet constraint)(Code) | | Initialise this ConstraintStage with the mapping [from names to indexes] and
ExpressionSet [the constraint expressions] that will be evaluated when the
constraint stage runs.
|
deliver | public Pipe deliver(Pipe L)(Code) | | the delivery component: read the domain elements out of the
input pipe, and only pass on those that satisfy the predicate.
|
|
|