MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.functions
Class Values

java.lang.Object
  extended by com.marklogic.mapreduce.functions.LexiconFunction
      extended by com.marklogic.mapreduce.functions.ValuesOrWordsFunction
          extended by com.marklogic.mapreduce.functions.Values

public abstract class Values
extends ValuesOrWordsFunction

Wrapper class for the cts:values 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 Summary
Values()
           
 
Method Summary
abstract  Reference[] getReferences()
          Get the value of the $range-indexes parameter to the lexicon function call, as an array of References.
 
Methods inherited from class com.marklogic.mapreduce.functions.ValuesOrWordsFunction
getInputQuery, getStart
 
Methods inherited from class com.marklogic.mapreduce.functions.LexiconFunction
getLexiconQuery, getUserDefinedOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Values

public Values()
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.

MarkLogic Connector for Hadoop 1.1-3

Copyright © 2013 MarkLogic Corporation. All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com