MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.examples
Class RevisionGrouper

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

public class RevisionGrouper
extends Object

Extract the revision year from the document and add that as a collection to the document. This example demonstrates how to use NodeInputFormat and KeyValueOutputFormat, and can be run with the configuration file conf/marklogic-nodein-qryout.xml.


Nested Class Summary
static class RevisionGrouper.RevisionMapper
           
 
Constructor Summary
RevisionGrouper()
           
 
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

RevisionGrouper

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