public interface Constraint
Constraint defines an interface for a QOM constraint.| Modifier and Type | Method and Description | 
|---|---|
| boolean | evaluate(ScoreNode[] row,
        Name[] selectorNames,
        EvaluationContext context)Evaluates this constraint for the given row. | 
boolean evaluate(ScoreNode[] row, Name[] selectorNames, EvaluationContext context) throws IOException
row - the current row of score nodes.selectorNames - the selector names associated with row.context - the evaluation context.true if the row satisfies the constraint,
         false otherwise.IOException - if an error occurs while evaluating the constraint.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.