Class CooccurrencesFunction
- java.lang.Object
-
- com.marklogic.mapreduce.functions.LexiconFunction
-
- 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 ascts: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
Constructors Constructor Description CooccurrencesFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInputQuery(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
-
-
-
-
Method Detail
-
getInputQuery
public String getInputQuery(Collection<String> nsCol, long start, long count)
Description copied from class:LexiconFunctionGet the input query used by a record reader. Users must not override this method.- Specified by:
getInputQueryin classLexiconFunction- Parameters:
nsCol- alias-URI pairs of namespace specsstart- start of the splitcount- count of the split- Returns:
- input query.
-
-