public class MarkLogicNode extends Object implements org.apache.hadoop.io.Writable
NodeInputFormat and NodeOutputFormat. May also be used
with KeyValueInputFormat and ValueInputFormat.| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
MarkLogicNode() |
MarkLogicNode(Node node) |
MarkLogicNode(com.marklogic.xcc.ResultItem item) |
MarkLogicNode(String content,
ContentType contentType) |
| Modifier and Type | Method and Description |
|---|---|
Node |
get() |
void |
readFields(DataInput in) |
void |
set(Node node) |
void |
set(com.marklogic.xcc.ResultItem item) |
String |
toString() |
void |
write(DataOutput out) |
public MarkLogicNode()
public MarkLogicNode(Node node)
public MarkLogicNode(com.marklogic.xcc.ResultItem item)
public MarkLogicNode(String content, ContentType contentType)
public Node get()
public void set(Node node)
public void set(com.marklogic.xcc.ResultItem item)
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2021 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com