Package com.darkcollective.relix.processor.eval
package com.darkcollective.relix.processor.eval
Scalar expression and predicate evaluation for query execution.
Two evaluators drive all row-level computation:
OperandEvaluator— evaluates anyOperandexpression against aRow, returning aValue. Handles all eight operand subtypes including arithmetic, attribute references, and the full built-in function catalogue.PredicateEvaluator— evaluates anyPredicateagainst a row, returning aboolean. NULL values follow SQL three-valued logic.
EvaluationException is the
unchecked exception thrown when evaluation cannot proceed (unknown column,
type mismatch, bad function arity, etc.).
-
ClassDescriptionA candidate row paired with its continuous LP allocation value, as returned by
SubsetOptimizer.allocate(com.darkcollective.relix.ast.ObjectiveSense, com.darkcollective.relix.ast.Operand, java.util.List<com.darkcollective.relix.ast.OptimizeConstraint>, double, double, java.util.List<com.darkcollective.relix.processor.Row>, java.lang.String).Fills the single unknown column of a row by inverting a goal-seek equationleft = right(the engine side of theSOLVEoperator).Chooses the optimal subset of a group's rows under a linear objective and linear constraints — the 0/1 knapsack / portfolio-selection problem behind theOPTIMIZEoperator.The absolute temporal distance between two values — the metric that complementsValueComparator's order, for the operators that bound how far apart two rows may be (the AS-OF join'sWITHINtolerance).Total ordering overValueinstances for use in sort and aggregation operators.