Class ValueMatch


  • public abstract class ValueMatch
    extends ValueOrWordMatchFunction
    Wrapper class for the cts:value-match lexicon function. Subclass this class to generate map input based on a lexicon.

    Use this class with ValueInputFormat.

    To generate map input using the lexicon function, create a subclass of this class and provide implementations of the methods that correspond to the function parameters you want to include in the call.

    For details, see "Using a Lexicon to Generate Key-Value Pairs" in the MarkLogic Connector for Hadoop Developer's Guide.

    • Constructor Detail

      • ValueMatch

        public ValueMatch()
    • Method Detail

      • getReferences

        public abstract Reference[] getReferences()
        Get the value of the $range-indexes parameter to the lexicon function call, as an array of References.
        Returns:
        an array of References.
      • main

        public static void main​(String[] args)