public class NodePath extends Object implements org.apache.hadoop.io.WritableComparable<NodePath>
NodeInputFormat
and NodeOutputFormat
.Constructor and Description |
---|
NodePath() |
NodePath(String uri,
String path) |
Modifier and Type | Method and Description |
---|---|
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) |
public void readFields(DataInput in) throws IOException
readFields
in
interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in
interface org.apache.hadoop.io.Writable
IOException
public String getDocumentUri()
public void setDocumentUri(String docUri)
public String getRelativePath()
public void setRelativePath(String path)
public String getFullPath()
public int compareTo(NodePath o)
compareTo
in
interface Comparable<NodePath>
Copyright © 2020 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com