MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce
Class NodePath

java.lang.Object
  extended by com.marklogic.mapreduce.NodePath
All Implemented Interfaces:
Comparable<NodePath>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<NodePath>

public class NodePath
extends Object
implements org.apache.hadoop.io.WritableComparable<NodePath>

Node path usable as a key for a node record. Use with NodeInputFormat and NodeOutputFormat.


Constructor Summary
NodePath()
           
NodePath(String uri, String path)
           
 
Method Summary
 int compareTo(NodePath o)
           
 String getDocumentUri()
           
 String getFullPath()
           
 String getRelativePath()
           
 void readFields(DataInput in)
           
 void set(String uri, String path)
           
 void setDocumentUri(String docUri)
           
 void setRelativePath(String path)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodePath

public NodePath()

NodePath

public NodePath(String uri,
                String path)
Method Detail

set

public void set(String uri,
                String path)

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

getDocumentUri

public String getDocumentUri()

setDocumentUri

public void setDocumentUri(String docUri)

getRelativePath

public String getRelativePath()

setRelativePath

public void setRelativePath(String path)

getFullPath

public String getFullPath()

compareTo

public int compareTo(NodePath o)
Specified by:
compareTo in interface Comparable<NodePath>

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