Package com.marklogic.mapreduce
Interface CustomContent
-
- All Superinterfaces:
org.apache.hadoop.io.Writable
- All Known Implementing Classes:
ContentWithFileNameWritable,RDFWritable
public interface CustomContent extends org.apache.hadoop.io.WritableThis is a Writable Interface for custom content. Use this class with ContentOutputFormat and your own Reader to load documents into MarkLogic Server with finer grained control over permissions, properties, collections, and content quality than is provided by the per-job configuration properties such as mapreduce.marklogic.output.content.permission.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.marklogic.xcc.ContentgetContent(org.apache.hadoop.conf.Configuration conf, com.marklogic.xcc.ContentCreateOptions options, String uri)Get the content that is about to inserted.
-
-
-
Method Detail
-
getContent
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.- Parameters:
conf- job configurationoptions- a template for ContentCreateOptions to be used for the content to be created.uri- URI String of DocumentURI- Returns:
- Content
-
-