Class IndexedVariableEvaluator

  • All Implemented Interfaces:

    public class IndexedVariableEvaluator
    extends java.lang.Object
    implements SequenceEvaluator
    Evaluator for a variable that needs to be indexed, because the optimizer has identified that it will contain a sequence that is accessed using predicates based on the content Note, indexing is only used in Saxon-EE; the implementation in Saxon-HE is a dummy.
    • Constructor Detail

      • IndexedVariableEvaluator

        public IndexedVariableEvaluator​(PullEvaluator select)
    • Method Detail

      • evaluate

        public Sequence evaluate​(XPathContext context)
                          throws XPathException
        Evaluate a construct to produce a value (which might be a lazily evaluated Sequence)
        Specified by:
        evaluate in interface SequenceEvaluator
        context - the evaluation context
        a Sequence (not necessarily grounded)
        XPathException - if a dynamic error occurs during the evaluation.