public class RDFWritable<VALUE> extends Object implements CustomContent
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
RDFWritable() |
| Modifier and Type | Method and Description |
|---|---|
com.marklogic.xcc.Content |
getContent(org.apache.hadoop.conf.Configuration conf,
com.marklogic.xcc.ContentCreateOptions options,
String uri)
Get the content that is about to inserted.
|
VALUE |
getValue() |
void |
readFields(DataInput in) |
void |
set(String value) |
void |
setGraph(String uri) |
void |
setPermissions(com.marklogic.xcc.ContentPermission[] permissions) |
void |
write(DataOutput out) |
public void set(String value)
public void setGraph(String uri)
public void setPermissions(com.marklogic.xcc.ContentPermission[] permissions)
public VALUE getValue()
public com.marklogic.xcc.Content getContent(org.apache.hadoop.conf.Configuration conf,
com.marklogic.xcc.ContentCreateOptions options,
String uri)
CustomContentgetContent in interface CustomContentconf - job configurationoptions - a template for ContentCreateOptions to be used for
the content to be created.uri - URI String of DocumentURIpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2022 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com