VALUE - public class ContentWithFileNameWritable<VALUE> extends Object implements CustomContent
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
ContentWithFileNameWritable() |
ContentWithFileNameWritable(VALUE value,
String fileName) |
| 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.
|
protected String |
getEncodedURI(String val) |
String |
getFileName() |
VALUE |
getValue() |
void |
readFields(DataInput in) |
void |
setFileName(String fileName) |
void |
setValue(VALUE value) |
void |
write(DataOutput out) |
public VALUE getValue()
public void setValue(VALUE value)
public String getFileName()
public void setFileName(String fileName)
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 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 © 2023 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com