MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.examples
Class LinkCountCooccurrences

java.lang.Object
  extended by com.marklogic.mapreduce.examples.LinkCountCooccurrences

public class LinkCountCooccurrences
extends Object

Count the occurrences of each link title in documents stored in MarkLogic Server, using the lexicon function cts:element-attribute-co-occurrences, then write the link count summary to HDFS. Use with the configuration file conf/marklogic-lexicon.xml.


Nested Class Summary
static class LinkCountCooccurrences.IntSumReducer
           
static class LinkCountCooccurrences.RefMapper
           
 
Constructor Summary
LinkCountCooccurrences()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkCountCooccurrences

public LinkCountCooccurrences()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

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