com.marklogic.mapreduce.functions
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 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CooccurrencesFunction
public CooccurrencesFunction()
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 specsstart - start of the splitcount - count of the split
- Returns:
- input query.
Copyright © 2013 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com