Class ValueIndexScanMatchCandidate

  • All Implemented Interfaces:
    MatchCandidate

    public class ValueIndexScanMatchCandidate
    extends Object
    implements MatchCandidate
    Case class to represent a match candidate that is backed by an index.
    • Method Detail

      • getName

        @Nonnull
        public String getName()
        Description copied from interface: MatchCandidate
        Returns the name of the match candidate. If this candidate represents and index, it will be the name of the index.
        Specified by:
        getName in interface MatchCandidate
        Returns:
        the name of this match candidate
      • getTraversal

        @Nonnull
        public ExpressionRefTraversal getTraversal()
        Description copied from interface: MatchCandidate
        Returns the traversal object for this candidate. The traversal object can either be computed up-front when the candidate is created or lazily when this method is invoked. It is, however, necessary that the traversal once computed is stable, meaning the object returned by implementors of this method must always return the same object.
        Specified by:
        getTraversal in interface MatchCandidate
        Returns:
        the traversal associated for this match candidate
      • getAlternativeKeyExpression

        @Nonnull
        public KeyExpression getAlternativeKeyExpression()
        Description copied from interface: MatchCandidate
        This method returns a key expression that can be used to actually compute the the keys of this candidate for a given record. The current expression hierarchy cannot be evaluated at runtime (in general). This key expression helps representing compensation or part of compensation if needed.
        Specified by:
        getAlternativeKeyExpression in interface MatchCandidate
        Returns:
        a key expression that can be evaluated based on a base record