MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.examples
Class LinkCountInDoc

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

public class LinkCountInDoc
extends Object

Count the number of occurrences of each link title in documents in MarkLogic Server, and save the link count as a child node of each referenced document. Use with the configuration file conf/marklogic-nodein-nodeout.xml.


Nested Class Summary
static class LinkCountInDoc.IntSumReducer
           
static class LinkCountInDoc.RefMapper
           
 
Constructor Summary
LinkCountInDoc()
           
 
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

LinkCountInDoc

public LinkCountInDoc()
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