MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.functions
Class CooccurrencesFunction

java.lang.Object
  extended by com.marklogic.mapreduce.functions.LexiconFunction
      extended by com.marklogic.mapreduce.functions.CooccurrencesFunction
Direct Known Subclasses:
ElemAttrValueCooccurrences, ElemValueCooccurrences, FieldValueCooccurrences, ValueCooccurrences

public abstract class CooccurrencesFunction
extends LexiconFunction

Supper class of wrapper classes for supported co-occurrences lexicon functions, such as cts:element-value-co-occurrences.

All co-occurrences functions using this API do NOT preserve frequency order even if "frequency-order" option is specified.


Constructor Summary
CooccurrencesFunction()
           
 
Method Summary
 String getInputQuery(Collection<String> nsCol, long start, long count)
          Get the input query used by a record reader.
 
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

CooccurrencesFunction

public CooccurrencesFunction()
Method Detail

getInputQuery

public String getInputQuery(Collection<String> nsCol,
                            long start,
                            long count)
Description copied from class: LexiconFunction
Get the input query used by a record reader. Users must not override this method.

Specified by:
getInputQuery in class LexiconFunction
Parameters:
nsCol - alias-URI pairs of namespace specs
start - start of the split
count - count of the split
Returns:
input query.

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